Skip to content

Commit

Permalink
Merge pull request #114 from CaptainFact/feature/discord-link
Browse files Browse the repository at this point in the history
Add discord link to verification Inteface
  • Loading branch information
Betree committed May 7, 2018
2 parents dab33bf + 8176d6c commit 019a51a
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
10 changes: 8 additions & 2 deletions app/components/VideoDebate/ColumnVideo.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export class ColumnVideo extends React.PureComponent {

const { video, view, t } = this.props
const { url, title, speakers } = video
const isDebate = view === "debate"
const isDebate = view === 'debate'

return (
<div id="col-video" className="column is-5">
Expand All @@ -40,7 +40,7 @@ export class ColumnVideo extends React.PureComponent {
<ul>
<li className={classNames({'is-active': isDebate})}>
<Link to={`/videos/${video.id}`}>
<Icon size="small" name="comments-o"/>
<Icon size="small" name="check-circle"/>
<span>{ t('debate') }</span>
</Link>
</li>
Expand All @@ -50,6 +50,12 @@ export class ColumnVideo extends React.PureComponent {
<span>{ t('history') }</span>
</Link>
</li>
<li>
<a href="https://discord.gg/yqFpjgG" target="_blank">
<Icon size="small" name="comments-o"/>
<span>Chat</span>
</a>
</li>
</ul>
</div>
{isDebate &&
Expand Down
2 changes: 1 addition & 1 deletion app/i18n/en/videoDebate.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
export default {
'debate': 'Debate',
'debate': 'Fact-checking',
'history': 'History',
'approve': 'Confirm',
'refute': 'Refute',
Expand Down
2 changes: 1 addition & 1 deletion app/i18n/fr/videoDebate.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
export default {
'debate': 'Débat',
'debate': 'Vérification',
'history': 'Historique',
'approve': 'Confirme',
'refute': 'Réfute',
Expand Down
6 changes: 0 additions & 6 deletions app/styles/_components/VideoDebate/video_debate.sass
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,8 @@

&> .tabs
margin-bottom: 0
.icon
font-size: 16px
a
border-radius: 0
&:first-child
border-left: none
&:last-child
border-right: none

.video > div
position: relative
Expand Down

0 comments on commit 019a51a

Please sign in to comment.