Show More
@@ -520,7 +520,12 b' from rhodecode.lib.diffs import NEW_FILE' | |||||
520 | > |
|
520 | > | |
521 | <div> |
|
521 | <div> | |
522 | %if line.original.comments: |
|
522 | %if line.original.comments: | |
523 | <i class="icon-comment" onclick="return Rhodecode.comments.toggleLineComments(this)"></i> |
|
523 | <% has_outdated = any([x.outdated for x in line.original.comments]) %> | |
|
524 | % if has_outdated: | |||
|
525 | <i title="${_('comments including outdated')}:${len(line.original.comments)}" class="icon-comment_toggle" onclick="return Rhodecode.comments.toggleLineComments(this)"></i> | |||
|
526 | % else: | |||
|
527 | <i title="${_('comments')}: ${len(line.original.comments)}" class="icon-comment" onclick="return Rhodecode.comments.toggleLineComments(this)"></i> | |||
|
528 | % endif | |||
524 | %endif |
|
529 | %endif | |
525 | </div> |
|
530 | </div> | |
526 | </td> |
|
531 | </td> | |
@@ -550,7 +555,12 b' from rhodecode.lib.diffs import NEW_FILE' | |||||
550 | > |
|
555 | > | |
551 | <div> |
|
556 | <div> | |
552 | %if line.modified.comments: |
|
557 | %if line.modified.comments: | |
553 | <i class="icon-comment" onclick="return Rhodecode.comments.toggleLineComments(this)"></i> |
|
558 | <% has_outdated = any([x.outdated for x in line.modified.comments]) %> | |
|
559 | % if has_outdated: | |||
|
560 | <i title="${_('comments including outdated')}:${len(line.modified.comments)}" class="icon-comment_toggle" onclick="return Rhodecode.comments.toggleLineComments(this)"></i> | |||
|
561 | % else: | |||
|
562 | <i title="${_('comments')}: ${len(line.modified.comments)}" class="icon-comment" onclick="return Rhodecode.comments.toggleLineComments(this)"></i> | |||
|
563 | % endif | |||
554 | %endif |
|
564 | %endif | |
555 | </div> |
|
565 | </div> | |
556 | </td> |
|
566 | </td> | |
@@ -592,9 +602,14 b' from rhodecode.lib.diffs import NEW_FILE' | |||||
592 | <tr class="cb-line"> |
|
602 | <tr class="cb-line"> | |
593 | <td class="cb-data ${action_class(action)}"> |
|
603 | <td class="cb-data ${action_class(action)}"> | |
594 | <div> |
|
604 | <div> | |
595 | %if comments: |
|
605 | % if comments: | |
596 | <i class="icon-comment" onclick="return Rhodecode.comments.toggleLineComments(this)"></i> |
|
606 | <% has_outdated = any([x.outdated for x in comments]) %> | |
597 | %endif |
|
607 | % if has_outdated: | |
|
608 | <i title="${_('comments including outdated')}:${len(comments)}" class="icon-comment_toggle" onclick="return Rhodecode.comments.toggleLineComments(this)"></i> | |||
|
609 | % else: | |||
|
610 | <i title="${_('comments')}: ${len(comments)}" class="icon-comment" onclick="return Rhodecode.comments.toggleLineComments(this)"></i> | |||
|
611 | % endif | |||
|
612 | % endif | |||
598 | </div> |
|
613 | </div> | |
599 | </td> |
|
614 | </td> | |
600 | <td class="cb-lineno ${action_class(action)}" |
|
615 | <td class="cb-lineno ${action_class(action)}" |
General Comments 0
You need to be logged in to leave comments.
Login now