comments-nav: add dividers according to the UI specs.

This commit is contained in:
Marcin Kuzminski 2016-11-28 01:01:40 +01:00
parent 854da3a6c0
commit 068dc61d56

View file

@ -54,9 +54,9 @@
%if not comment.pull_request or (comment.pull_request and not comment.pull_request.is_closed()):
%if h.HasPermissionAny('hg.admin')() or h.HasRepoPermissionAny('repository.admin')(c.repo_name) or comment.author.user_id == c.rhodecode_user.user_id:
## TODO: dan: add edit comment here
<a onclick="return Rhodecode.comments.deleteComment(this);" class="delete-comment"> ${_('Delete')}</a>
<a onclick="return Rhodecode.comments.deleteComment(this);" class="delete-comment"> ${_('Delete')}</a> |
%if not comment.outdated:
<a onclick="return Rhodecode.comments.prevComment(this);" class="prev-comment"> ${_('Prev')}</a>
<a onclick="return Rhodecode.comments.prevComment(this);" class="prev-comment"> ${_('Prev')}</a> |
<a onclick="return Rhodecode.comments.nextComment(this);" class="next-comment"> ${_('Next')}</a>
%endif
%endif