diff --git a/web/TODO.md b/web/TODO.md index d2a48ea9..5d40fa50 100644 --- a/web/TODO.md +++ b/web/TODO.md @@ -2,7 +2,7 @@ major features: - improve design - check mobile ui - - add icons for social networks + - add styles for md text - add time format 'X hours ago' - edit comment - `PUT /api/v1/comment/{id}?site=site-id&url=post-url` diff --git a/web/app/components/comment/comment.jsx b/web/app/components/comment/comment.jsx index 9df571cf..d957d420 100644 --- a/web/app/components/comment/comment.jsx +++ b/web/app/components/comment/comment.jsx @@ -180,16 +180,24 @@ export default class Comment extends Component { {o.user.name} - vote up + { + !isGuest && ( + vote up + ) + } {o.score.sign} {o.score.value} - vote down + { + !isGuest && ( + vote down + ) + } {o.time}