Mercurial > kallithea
changeset 6821:2cc8d07931e2
changelog: change comments tooltip from 'Changeset has comments' to 'X comments'
author | domruf <dominikruf@gmail.com> |
---|---|
date | Mon, 03 Jul 2017 21:32:56 +0200 |
parents | 6005a4cb5a64 |
children | 385c85f19d8d |
files | kallithea/templates/changelog/changelog.html |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/kallithea/templates/changelog/changelog.html Sun Jul 02 20:28:09 2017 +0200 +++ b/kallithea/templates/changelog/changelog.html Mon Jul 03 21:32:56 2017 +0200 @@ -112,7 +112,7 @@ <div class="message" id="C-${cs.raw_id}">${h.urlify_text(cs.message, c.repo_name,h.url('changeset_home',repo_name=c.repo_name,revision=cs.raw_id))}</div> <div class="extra-container"> %if c.comments.get(cs.raw_id): - <a class="comments-container comments-cnt" href="${c.comments[cs.raw_id][0].url()}" data-toggle="tooltip" title="${_('Changeset has comments')}"> + <a class="comments-container comments-cnt" href="${c.comments[cs.raw_id][0].url()}" data-toggle="tooltip" title="${_('%s comments') % len(c.comments[cs.raw_id])}"> ${len(c.comments[cs.raw_id])} <i class="icon-comment-discussion"></i> </a>