Mercurial > kallithea
comparison rhodecode/templates/shortlog/shortlog_data.html @ 2884:a16f9a76c26f beta
#574 Show pull request status also in shortlog (if any)
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Sat, 29 Sep 2012 23:12:30 +0200 |
parents | d5e42c00f3c1 |
children | 0b86972de820 |
comparison
equal
deleted
inserted
replaced
2883:b1822f4a85ca | 2884:a16f9a76c26f |
---|---|
10 <th class="left">${_('tags')}</th> | 10 <th class="left">${_('tags')}</th> |
11 </tr> | 11 </tr> |
12 %for cnt,cs in enumerate(c.repo_changesets): | 12 %for cnt,cs in enumerate(c.repo_changesets): |
13 <tr class="parity${cnt%2}"> | 13 <tr class="parity${cnt%2}"> |
14 <td> | 14 <td> |
15 <div><pre><a href="${h.url('files_home',repo_name=c.repo_name,revision=cs.raw_id)}">r${cs.revision}:${h.short_id(cs.raw_id)}</a></pre></div> | 15 <div> |
16 <div class="changeset-status-container"> | |
17 %if c.statuses.get(cs.raw_id): | |
18 <div class="changeset-status-ico"> | |
19 %if c.statuses.get(cs.raw_id)[2]: | |
20 <a class="tooltip" title="${_('Click to open associated pull request')}" href="${h.url('pullrequest_show',repo_name=c.statuses.get(cs.raw_id)[3],pull_request_id=c.statuses.get(cs.raw_id)[2])}"> | |
21 <img src="${h.url('/images/icons/flag_status_%s.png' % c.statuses.get(cs.raw_id)[0])}" /> | |
22 </a> | |
23 %else: | |
24 <img src="${h.url('/images/icons/flag_status_%s.png' % c.statuses.get(cs.raw_id)[0])}" /> | |
25 %endif | |
26 </div> | |
27 %endif | |
28 </div> | |
29 <pre><a href="${h.url('files_home',repo_name=c.repo_name,revision=cs.raw_id)}">r${cs.revision}:${h.short_id(cs.raw_id)}</a></pre> | |
30 </div> | |
16 </td> | 31 </td> |
17 <td> | 32 <td> |
18 ${h.link_to(h.truncate(cs.message,50) or _('No commit message'), | 33 ${h.link_to(h.truncate(cs.message,50) or _('No commit message'), |
19 h.url('changeset_home',repo_name=c.repo_name,revision=cs.raw_id), | 34 h.url('changeset_home',repo_name=c.repo_name,revision=cs.raw_id), |
20 title=cs.message)} | 35 title=cs.message)} |