##// END OF EJS Templates
pull requests: add a 'Changeset status' comment on changeset status
Mads Kiilerich -
r4056:458fd829 default
parent child Browse files
Show More
@@ -75,11 +75,13 b''
75 75 %if c.statuses.get(cs.raw_id):
76 76 <div class="changeset-status-ico">
77 77 %if c.statuses.get(cs.raw_id)[2]:
78 <a class="tooltip" title="${_('Click to open associated pull request #%s' % c.statuses.get(cs.raw_id)[2])}" href="${h.url('pullrequest_show',repo_name=c.statuses.get(cs.raw_id)[3],pull_request_id=c.statuses.get(cs.raw_id)[2])}">
78 <a class="tooltip" title="${_('Changeset status: %s\nClick to open associated pull request #%s') % (c.statuses.get(cs.raw_id)[0], c.statuses.get(cs.raw_id)[2])}" href="${h.url('pullrequest_show',repo_name=c.statuses.get(cs.raw_id)[3],pull_request_id=c.statuses.get(cs.raw_id)[2])}">
79 79 <img src="${h.url('/images/icons/flag_status_%s.png' % c.statuses.get(cs.raw_id)[0])}" />
80 80 </a>
81 81 %else:
82 <a class="tooltip" title="${_('Changeset status: %s') % c.statuses.get(cs.raw_id)[0]}" href="${h.url('changeset_home',repo_name=c.repo_name,revision=cs.raw_id,anchor='comment-%s' % c.comments[cs.raw_id][0].comment_id)}">
82 83 <img src="${h.url('/images/icons/flag_status_%s.png' % c.statuses.get(cs.raw_id)[0])}" />
84 </a>
83 85 %endif
84 86 </div>
85 87 %endif
@@ -103,7 +105,7 b''
103 105 <div class="extra-container">
104 106 %if c.comments.get(cs.raw_id):
105 107 <div class="comments-container">
106 <div class="comments-cnt" title="${('comments')}">
108 <div class="comments-cnt" title="${_('Changeset has comments')}">
107 109 <a href="${h.url('changeset_home',repo_name=c.repo_name,revision=cs.raw_id,anchor='comment-%s' % c.comments[cs.raw_id][0].comment_id)}">
108 110 ${len(c.comments[cs.raw_id])}
109 111 </a>
@@ -25,7 +25,7 b''
25 25 %if c.statuses.get(cs.raw_id):
26 26 <div class="changeset-status-ico">
27 27 %if c.statuses.get(cs.raw_id)[2]:
28 <a class="tooltip" title="${_('Click to open associated pull request #%s' % c.statuses.get(cs.raw_id)[2])}" href="${h.url('pullrequest_show',repo_name=c.statuses.get(cs.raw_id)[3],pull_request_id=c.statuses.get(cs.raw_id)[2])}">
28 <a class="tooltip" title="${_('Changeset status: %s\nClick to open associated pull request #%s') % (c.statuses.get(cs.raw_id)[0], c.statuses.get(cs.raw_id)[2])}" href="${h.url('pullrequest_show',repo_name=c.statuses.get(cs.raw_id)[3],pull_request_id=c.statuses.get(cs.raw_id)[2])}">
29 29 <img src="${h.url('/images/icons/flag_status_%s.png' % c.statuses.get(cs.raw_id)[0])}" />
30 30 </a>
31 31 %else:
@@ -8,7 +8,7 b''
8 8 <tr>
9 9 <td>
10 10 %if cs.raw_id in c.statuses:
11 <div title="${c.statuses[cs.raw_id][1]}" class="changeset-status-ico"><img src="${h.url('/images/icons/flag_status_%s.png' % c.statuses[cs.raw_id][0])}" /></div>
11 <div title="${_('Changeset status: %s') % c.statuses[cs.raw_id][1]}" class="changeset-status-ico"><img src="${h.url('/images/icons/flag_status_%s.png' % c.statuses[cs.raw_id][0])}" /></div>
12 12 %endif
13 13 </td>
14 14 <td><span class="tooltip" title="${h.tooltip(h.age(cs.date))}">${cs.date}</span></td>
General Comments 0
You need to be logged in to leave comments. Login now