##// 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 %if line_old_comments:
677 %if line_old_comments:
678 <% has_outdated = any([x.outdated for x in line_old_comments]) %>
678 <% has_outdated = any([x.outdated for x in line_old_comments]) %>
679 % if has_outdated:
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 % else:
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 % endif
683 % endif
684 %endif
684 %endif
685 </div>
685 </div>
@@ -720,9 +720,9 b' def get_comments_for(diff_type, comments'
720 %if line_new_comments:
720 %if line_new_comments:
721 <% has_outdated = any([x.outdated for x in line_new_comments]) %>
721 <% has_outdated = any([x.outdated for x in line_new_comments]) %>
722 % if has_outdated:
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 % else:
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 % endif
726 % endif
727 %endif
727 %endif
728 </div>
728 </div>
@@ -776,9 +776,9 b' def get_comments_for(diff_type, comments'
776 % if comments:
776 % if comments:
777 <% has_outdated = any([x.outdated for x in comments]) %>
777 <% has_outdated = any([x.outdated for x in comments]) %>
778 % if has_outdated:
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 % else:
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 % endif
782 % endif
783 % endif
783 % endif
784 </div>
784 </div>
General Comments 0
You need to be logged in to leave comments. Login now