##// END OF EJS Templates
ux: fix show inline comments link
dan -
r1185:2123e47c default
parent child Browse files
Show More
@@ -170,12 +170,12 b''
170 170 ${ungettext("%d Pull request comment", "%d Pull request comments", len(c.comments)) % len(c.comments)}
171 171 %endif
172 172 %if c.inline_cnt:
173 ## this is replaced with a proper link to first comment via JS linkifyComments() func
174 <a href="#inline-comments" id="inline-comments-counter">${ungettext("%d Inline Comment", "%d Inline Comments", c.inline_cnt) % c.inline_cnt}</a>
173 <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>
175 174 %else:
176 175 ${ungettext("%d Inline Comment", "%d Inline Comments", c.inline_cnt) % c.inline_cnt}
177 176 %endif
178 177
178
179 179 % if c.outdated_cnt:
180 180 ,${ungettext("%d Outdated Comment", "%d Outdated Comments", c.outdated_cnt) % c.outdated_cnt} <span id="show-outdated-comments" class="btn btn-link">${_('(Show)')}</span>
181 181 % endif
General Comments 0
You need to be logged in to leave comments. Login now