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:
parent
d39b003e22
commit
d3bd2c6229
1 changed files with 6 additions and 1 deletions
|
|
@ -92,7 +92,12 @@
|
|||
<a class="permalink" href="#comment-${comment.comment_id}"> ¶</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))}">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue