Show More
@@ -520,7 +520,12 b' from rhodecode.lib.diffs import NEW_FILE' | |||
|
520 | 520 | > |
|
521 | 521 | <div> |
|
522 | 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 | 529 | %endif |
|
525 | 530 | </div> |
|
526 | 531 | </td> |
@@ -550,7 +555,12 b' from rhodecode.lib.diffs import NEW_FILE' | |||
|
550 | 555 | > |
|
551 | 556 | <div> |
|
552 | 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 | 564 | %endif |
|
555 | 565 | </div> |
|
556 | 566 | </td> |
@@ -592,9 +602,14 b' from rhodecode.lib.diffs import NEW_FILE' | |||
|
592 | 602 | <tr class="cb-line"> |
|
593 | 603 | <td class="cb-data ${action_class(action)}"> |
|
594 | 604 | <div> |
|
595 | %if comments: | |
|
596 | <i class="icon-comment" onclick="return Rhodecode.comments.toggleLineComments(this)"></i> | |
|
597 | %endif | |
|
605 | % if comments: | |
|
606 | <% has_outdated = any([x.outdated for x in comments]) %> | |
|
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 | 613 | </div> |
|
599 | 614 | </td> |
|
600 | 615 | <td class="cb-lineno ${action_class(action)}" |
General Comments 0
You need to be logged in to leave comments.
Login now