summaryrefslogtreecommitdiffstats
path: root/web/react/components
diff options
context:
space:
mode:
authorAsaad Mahmood <asaad@spinpunch.com>2015-11-19 20:18:38 +0500
committerAsaad Mahmood <asaad@spinpunch.com>2015-11-19 20:18:38 +0500
commit094728a809ce325e1483e6ba1ed644947d0f6ba9 (patch)
tree3b2dba3418ab626b9931430d2523b115a37fa8d5 /web/react/components
parent5f848b74793f679772473a3b5b2ab247bcc927a9 (diff)
downloadchat-094728a809ce325e1483e6ba1ed644947d0f6ba9.tar.gz
chat-094728a809ce325e1483e6ba1ed644947d0f6ba9.tar.bz2
chat-094728a809ce325e1483e6ba1ed644947d0f6ba9.zip
Multiple UI Improvements
Diffstat (limited to 'web/react/components')
-rw-r--r--web/react/components/post_info.jsx17
1 files changed, 17 insertions, 0 deletions
diff --git a/web/react/components/post_info.jsx b/web/react/components/post_info.jsx
index 5446fca7a..322834f07 100644
--- a/web/react/components/post_info.jsx
+++ b/web/react/components/post_info.jsx
@@ -74,6 +74,23 @@ export default class PostInfo extends React.Component {
);
}
+ if (this.props.allowReply === 'true') {
+ dropdownContents.push(
+ <li
+ key='replyLink'
+ role='presentation'
+ >
+ <a
+ className='reply-link visible-xs theme'
+ href='#'
+ onClick={this.props.handleCommentClick}
+ >
+ {'Reply'}
+ </a>
+ </li>
+ );
+ }
+
if (dropdownContents.length === 0) {
return '';
}