summaryrefslogtreecommitdiffstats
path: root/web/react/components
diff options
context:
space:
mode:
authorJoram Wilander <jwawilander@gmail.com>2015-11-19 13:42:57 -0500
committerJoram Wilander <jwawilander@gmail.com>2015-11-19 13:42:57 -0500
commit71ae3c07fa15129f1b5d88bb7015e92136788416 (patch)
tree06093010fce102785fc7c50032bf5aacad6c0a6a /web/react/components
parent520d792fb4a2382bdff526ea14e6cde149d745d4 (diff)
parent975a5dc759ab0f98f3db01b2a355416b0f687e42 (diff)
downloadchat-71ae3c07fa15129f1b5d88bb7015e92136788416.tar.gz
chat-71ae3c07fa15129f1b5d88bb7015e92136788416.tar.bz2
chat-71ae3c07fa15129f1b5d88bb7015e92136788416.zip
Merge pull request #1468 from asaadmahmoodspin/ui-improvements
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 '';
}