##// END OF EJS Templates
outdated-notes: show navigation on outdated comments
marcink -
r1343:0d1ab239 default
parent child Browse files
Show More
@@ -136,7 +136,10 b''
136 <button class="btn-link" disabled="disabled"> ${_('Delete')}</button>
136 <button class="btn-link" disabled="disabled"> ${_('Delete')}</button>
137 %endif
137 %endif
138
138
139 %if not outdated_at_ver:
139 % if outdated_at_ver:
140 | <a onclick="return Rhodecode.comments.prevOutdatedComment(this);" class="prev-comment"> ${_('Prev')}</a>
141 | <a onclick="return Rhodecode.comments.nextOutdatedComment(this);" class="next-comment"> ${_('Next')}</a>
142 % else:
140 | <a onclick="return Rhodecode.comments.prevComment(this);" class="prev-comment"> ${_('Prev')}</a>
143 | <a onclick="return Rhodecode.comments.prevComment(this);" class="prev-comment"> ${_('Prev')}</a>
141 | <a onclick="return Rhodecode.comments.nextComment(this);" class="next-comment"> ${_('Next')}</a>
144 | <a onclick="return Rhodecode.comments.nextComment(this);" class="next-comment"> ${_('Next')}</a>
142 %endif
145 % endif
@@ -152,7 +155,7 b''
152
155
153 ## generate main comments
156 ## generate main comments
154 <%def name="generate_comments(comments, include_pull_request=False, is_pull_request=False)">
157 <%def name="generate_comments(comments, include_pull_request=False, is_pull_request=False)">
155 <div id="comments">
158 <div class="general-comments" id="comments">
156 %for comment in comments:
159 %for comment in comments:
157 <div id="comment-tr-${comment.comment_id}">
160 <div id="comment-tr-${comment.comment_id}">
158 ## only render comments that are not from pull request, or from
161 ## only render comments that are not from pull request, or from
General Comments 0
You need to be logged in to leave comments. Login now