Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add discord link to verification Inteface #114

Merged
merged 1 commit into from
May 7, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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