Mercurial > kallithea
comparison rhodecode/templates/shortlog/shortlog_data.html @ 3707:93de03499097 beta
shortlog: show all refs (bookmarks,tags,branches) in one dedicated column
- rename confusing name bookbook to booktag (as others similar names)
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Sun, 07 Apr 2013 23:11:17 +0200 |
parents | ec6354949623 |
children |
comparison
equal
deleted
inserted
replaced
3706:4e28db85edf7 | 3707:93de03499097 |
---|---|
4 <tr> | 4 <tr> |
5 <th class="left">${_('Revision')}</th> | 5 <th class="left">${_('Revision')}</th> |
6 <th class="left">${_('Commit message')}</th> | 6 <th class="left">${_('Commit message')}</th> |
7 <th class="left">${_('Age')}</th> | 7 <th class="left">${_('Age')}</th> |
8 <th class="left">${_('Author')}</th> | 8 <th class="left">${_('Author')}</th> |
9 <th class="left">${_('Branch')}</th> | 9 <th class="left">${_('Refs')}</th> |
10 <th class="left">${_('Tags')}</th> | |
11 </tr> | 10 </tr> |
12 %for cnt,cs in enumerate(c.repo_changesets): | 11 %for cnt,cs in enumerate(c.repo_changesets): |
13 <tr class="parity${cnt%2}"> | 12 <tr class="parity${cnt%2}"> |
14 <td> | 13 <td> |
15 <div> | 14 <div> |
35 <td><span class="tooltip" title="${h.tooltip(h.fmt_date(cs.date))}"> | 34 <td><span class="tooltip" title="${h.tooltip(h.fmt_date(cs.date))}"> |
36 ${h.age(cs.date)}</span> | 35 ${h.age(cs.date)}</span> |
37 </td> | 36 </td> |
38 <td title="${cs.author}">${h.person(cs.author)}</td> | 37 <td title="${cs.author}">${h.person(cs.author)}</td> |
39 <td> | 38 <td> |
40 <span class="logtags"> | 39 %if h.is_hg(c.rhodecode_repo): |
41 %if cs.branch: | 40 %for book in cs.bookmarks: |
42 <span class="branchtag"> | 41 <div class="booktag" title="${_('Bookmark %s') % book}"> |
43 ${cs.branch} | 42 ${h.link_to(h.shorter(book),h.url('files_home',repo_name=c.repo_name,revision=cs.raw_id))} |
44 </span> | 43 </div> |
45 %endif | |
46 </span> | |
47 </td> | |
48 <td> | |
49 <span class="logtags"> | |
50 %for tag in cs.tags: | |
51 <span class="tagtag">${tag}</span> | |
52 %endfor | 44 %endfor |
53 </span> | 45 %endif |
46 %for tag in cs.tags: | |
47 <div class="tagtag" title="${_('Tag %s') % tag}"> | |
48 ${h.link_to(h.shorter(tag),h.url('files_home',repo_name=c.repo_name,revision=cs.raw_id))} | |
49 </div> | |
50 %endfor | |
51 %if cs.branch: | |
52 <div class="branchtag" title="${_('Branch %s' % cs.branch)}"> | |
53 ${h.link_to(h.shorter(cs.branch),h.url('changelog_home',repo_name=c.repo_name,branch=cs.branch))} | |
54 </div> | |
55 %endif | |
54 </td> | 56 </td> |
55 </tr> | 57 </tr> |
56 %endfor | 58 %endfor |
57 | 59 |
58 </table> | 60 </table> |