##// END OF EJS Templates
comments: fixed line display icons.
dan -
r4419:5a8d42cc default
parent child Browse files
Show More
@@ -680,9 +680,9 b' def get_comments_for(diff_type, comments'
680 %if line_old_comments:
680 %if line_old_comments:
681 <% has_outdated = any([x.outdated for x in line_old_comments]) %>
681 <% has_outdated = any([x.outdated for x in line_old_comments]) %>
682 % if has_outdated:
682 % if has_outdated:
683 <i class="tooltip" title="${_('comments including outdated, click to show them')}:${len(line_old_comments)}" class="icon-comment-toggle" onclick="return Rhodecode.comments.toggleLineComments(this)"></i>
683 <i class="tooltip icon-comment-toggle" title="${_('comments including outdated: {}. Click here to display them.').format(len(line_old_comments))}" onclick="return Rhodecode.comments.toggleLineComments(this)"></i>
684 % else:
684 % else:
685 <i class="tooltip" title="${_('comments')}: ${len(line_old_comments)}" class="icon-comment" onclick="return Rhodecode.comments.toggleLineComments(this)"></i>
685 <i class="tooltip icon-comment" title="${_('comments: {}. Click to toggle them.').format(len(line_old_comments))}" onclick="return Rhodecode.comments.toggleLineComments(this)"></i>
686 % endif
686 % endif
687 %endif
687 %endif
688 </div>
688 </div>
@@ -721,11 +721,12 b' def get_comments_for(diff_type, comments'
721 <% line_new_comments = None%>
721 <% line_new_comments = None%>
722 %endif
722 %endif
723 %if line_new_comments:
723 %if line_new_comments:
724
724 <% has_outdated = any([x.outdated for x in line_new_comments]) %>
725 <% has_outdated = any([x.outdated for x in line_new_comments]) %>
725 % if has_outdated:
726 % if has_outdated:
726 <i class="tooltip" title="${_('comments including outdated, click to show them')}:${len(line_new_comments)}" class="icon-comment-toggle" onclick="return Rhodecode.comments.toggleLineComments(this)"></i>
727 <i class="tooltip icon-comment-toggle" title="${_('comments including outdated: {}. Click here to display them.').format(len(line_new_comments))}" onclick="return Rhodecode.comments.toggleLineComments(this)"></i>
727 % else:
728 % else:
728 <i class="tooltip" title="${_('comments')}: ${len(line_new_comments)}" class="icon-comment" onclick="return Rhodecode.comments.toggleLineComments(this)"></i>
729 <i class="tooltip icon-comment" title="${_('comments: {}. Click to toggle them.').format(len(line_new_comments))}" onclick="return Rhodecode.comments.toggleLineComments(this)"></i>
729 % endif
730 % endif
730 %endif
731 %endif
731 </div>
732 </div>
@@ -779,9 +780,9 b' def get_comments_for(diff_type, comments'
779 % if comments:
780 % if comments:
780 <% has_outdated = any([x.outdated for x in comments]) %>
781 <% has_outdated = any([x.outdated for x in comments]) %>
781 % if has_outdated:
782 % if has_outdated:
782 <i class="tooltip" title="${_('comments including outdated, click to show them')}:${len(comments)}" class="icon-comment-toggle" onclick="return Rhodecode.comments.toggleLineComments(this)"></i>
783 <i class="tooltip icon-comment-toggle" title="${_('comments including outdated: {}. Click here to display them.').format(len(comments))}" onclick="return Rhodecode.comments.toggleLineComments(this)"></i>
783 % else:
784 % else:
784 <i class="tooltip" title="${_('comments')}: ${len(comments)}" class="icon-comment" onclick="return Rhodecode.comments.toggleLineComments(this)"></i>
785 <i class="tooltip icon-comment" title="${_('comments: {}. Click to toggle them.').format(len(comments))}" onclick="return Rhodecode.comments.toggleLineComments(this)"></i>
785 % endif
786 % endif
786 % endif
787 % endif
787 </div>
788 </div>
General Comments 0
You need to be logged in to leave comments. Login now