comments: show author tag in pull request comments.

- to easier identify who is the author of the pull request we now
show an label in comments box.
This commit is contained in:
Marcin Kuzminski 2017-04-20 14:23:34 +02:00
parent d39b003e22
commit d3bd2c6229

View file

@ -92,7 +92,12 @@
<a class="permalink" href="#comment-${comment.comment_id}"> &para;</a>
<div class="comment-links-block">
% if comment.pull_request and comment.pull_request.author.user_id == comment.author.user_id:
<span class="tag authortag tooltip" title="${_('Pull request author')}">
${_('author')}
</span>
|
% endif
% if inline:
<div class="pr-version-inline">
<a href="${h.url.current(version=comment.pull_request_version_id, anchor='comment-{}'.format(comment.comment_id))}">