ux: fix show inline comments link
This commit is contained in:
parent
5192db25b5
commit
e5b972cd38
1 changed files with 2 additions and 2 deletions
|
|
@ -170,12 +170,12 @@
|
|||
${ungettext("%d Pull request comment", "%d Pull request comments", len(c.comments)) % len(c.comments)}
|
||||
%endif
|
||||
%if c.inline_cnt:
|
||||
## this is replaced with a proper link to first comment via JS linkifyComments() func
|
||||
<a href="#inline-comments" id="inline-comments-counter">${ungettext("%d Inline Comment", "%d Inline Comments", c.inline_cnt) % c.inline_cnt}</a>
|
||||
<a href="#" onclick="return Rhodecode.comments.nextComment();" id="inline-comments-counter">${ungettext("%d Inline Comment", "%d Inline Comments", c.inline_cnt) % c.inline_cnt}</a>
|
||||
%else:
|
||||
${ungettext("%d Inline Comment", "%d Inline Comments", c.inline_cnt) % c.inline_cnt}
|
||||
%endif
|
||||
|
||||
|
||||
% if c.outdated_cnt:
|
||||
,${ungettext("%d Outdated Comment", "%d Outdated Comments", c.outdated_cnt) % c.outdated_cnt} <span id="show-outdated-comments" class="btn btn-link">${_('(Show)')}</span>
|
||||
% endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue