Merge branch 'master' into user-comment-history

This commit is contained in:
Kim Gardner
2017-06-02 15:58:54 -04:00
committed by GitHub
7 changed files with 24 additions and 16 deletions
@@ -308,15 +308,6 @@ class Comment extends React.Component {
commentId={comment.id}
inline
/>
{!disableReply &&
<ActionButton>
<ReplyButton
onClick={() => setActiveReplyBox(comment.id)}
parentCommentId={parentId || comment.id}
currentUserId={currentUser && currentUser.id}
banned={false}
/>
</ActionButton>}
<ActionButton>
<IfUserCanModifyBest user={currentUser}>
<BestButton
@@ -326,6 +317,15 @@ class Comment extends React.Component {
/>
</IfUserCanModifyBest>
</ActionButton>
{!disableReply &&
<ActionButton>
<ReplyButton
onClick={() => setActiveReplyBox(comment.id)}
parentCommentId={parentId || comment.id}
currentUserId={currentUser && currentUser.id}
banned={false}
/>
</ActionButton>}
<Slot
fill="commentActions"
data={this.props.data}
@@ -1,5 +1,5 @@
import React, {Component, PropTypes} from 'react';
import t from 'coral-framework/services/i18n';
import styles from './IgnoredUsers.css';
export class IgnoredUsers extends Component {
@@ -18,7 +18,7 @@ export class IgnoredUsers extends Component {
<div>
{
users.length
? <p>Because you ignored these, you do not see their comments.</p>
? <p>{t('framework.because_you_ignored')}</p>
: null
}
<dl className={styles.ignoredUserList}>
@@ -29,7 +29,7 @@ export class IgnoredUsers extends Component {
<dd className={styles.stopListening}>
<a
onClick={() => stopIgnoring({id})}
className={styles.link}>Stop ignoring</a>
className={styles.link}>{t('framework.stop_ignoring')}</a>
</dd>
</span>
))