##// END OF EJS Templates
outdated-notes: show navigation on outdated comments
marcink -
r1343:0d1ab239 default
parent child Browse files
Show More
@@ -136,10 +136,13 b''
136 136 <button class="btn-link" disabled="disabled"> ${_('Delete')}</button>
137 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 143 | <a onclick="return Rhodecode.comments.prevComment(this);" class="prev-comment"> ${_('Prev')}</a>
141 144 | <a onclick="return Rhodecode.comments.nextComment(this);" class="next-comment"> ${_('Next')}</a>
142 %endif
145 % endif
143 146
144 147 </div>
145 148 </div>
@@ -152,7 +155,7 b''
152 155
153 156 ## generate main comments
154 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 159 %for comment in comments:
157 160 <div id="comment-tr-${comment.comment_id}">
158 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