##// 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 680 %if line_old_comments:
681 681 <% has_outdated = any([x.outdated for x in line_old_comments]) %>
682 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 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 686 % endif
687 687 %endif
688 688 </div>
@@ -721,11 +721,12 b' def get_comments_for(diff_type, comments'
721 721 <% line_new_comments = None%>
722 722 %endif
723 723 %if line_new_comments:
724
724 725 <% has_outdated = any([x.outdated for x in line_new_comments]) %>
725 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 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 730 % endif
730 731 %endif
731 732 </div>
@@ -779,9 +780,9 b' def get_comments_for(diff_type, comments'
779 780 % if comments:
780 781 <% has_outdated = any([x.outdated for x in comments]) %>
781 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 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 786 % endif
786 787 % endif
787 788 </div>
General Comments 0
You need to be logged in to leave comments. Login now