##// END OF EJS Templates
comments: show nicer tooltip about outdated comments.
marcink -
r4382:b8cc803a stable
parent child Browse files
Show More
@@ -677,9 +677,9 b' def get_comments_for(diff_type, comments'
677 677 %if line_old_comments:
678 678 <% has_outdated = any([x.outdated for x in line_old_comments]) %>
679 679 % if has_outdated:
680 <i title="${_('comments including outdated')}:${len(line_old_comments)}" class="icon-comment-toggle" onclick="return Rhodecode.comments.toggleLineComments(this)"></i>
680 <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>
681 681 % else:
682 <i title="${_('comments')}: ${len(line_old_comments)}" class="icon-comment" onclick="return Rhodecode.comments.toggleLineComments(this)"></i>
682 <i class="tooltip" title="${_('comments')}: ${len(line_old_comments)}" class="icon-comment" onclick="return Rhodecode.comments.toggleLineComments(this)"></i>
683 683 % endif
684 684 %endif
685 685 </div>
@@ -720,9 +720,9 b' def get_comments_for(diff_type, comments'
720 720 %if line_new_comments:
721 721 <% has_outdated = any([x.outdated for x in line_new_comments]) %>
722 722 % if has_outdated:
723 <i title="${_('comments including outdated')}:${len(line_new_comments)}" class="icon-comment-toggle" onclick="return Rhodecode.comments.toggleLineComments(this)"></i>
723 <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>
724 724 % else:
725 <i title="${_('comments')}: ${len(line_new_comments)}" class="icon-comment" onclick="return Rhodecode.comments.toggleLineComments(this)"></i>
725 <i class="tooltip" title="${_('comments')}: ${len(line_new_comments)}" class="icon-comment" onclick="return Rhodecode.comments.toggleLineComments(this)"></i>
726 726 % endif
727 727 %endif
728 728 </div>
@@ -776,9 +776,9 b' def get_comments_for(diff_type, comments'
776 776 % if comments:
777 777 <% has_outdated = any([x.outdated for x in comments]) %>
778 778 % if has_outdated:
779 <i title="${_('comments including outdated')}:${len(comments)}" class="icon-comment-toggle" onclick="return Rhodecode.comments.toggleLineComments(this)"></i>
779 <i class="tooltip" title="${_('comments including outdated, click to show them')}:${len(comments)}" class="icon-comment-toggle" onclick="return Rhodecode.comments.toggleLineComments(this)"></i>
780 780 % else:
781 <i title="${_('comments')}: ${len(comments)}" class="icon-comment" onclick="return Rhodecode.comments.toggleLineComments(this)"></i>
781 <i class="tooltip" title="${_('comments')}: ${len(comments)}" class="icon-comment" onclick="return Rhodecode.comments.toggleLineComments(this)"></i>
782 782 % endif
783 783 % endif
784 784 </div>
General Comments 0
You need to be logged in to leave comments. Login now