Mercurial > kallithea
comparison rhodecode/templates/pullrequests/pullrequest_show.html @ 4054:95ec841bfe1f
pull requests: remove redundant status icon from pr title.
- add tooltip to show the status calculation
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Thu, 27 Jun 2013 23:20:08 +0200 |
parents | 3625fd19b201 |
children | 6eaee7e2829e |
comparison
equal
deleted
inserted
replaced
4053:3625fd19b201 | 4054:95ec841bfe1f |
---|---|
18 <!-- box / title --> | 18 <!-- box / title --> |
19 <div class="title"> | 19 <div class="title"> |
20 ${self.breadcrumbs()} | 20 ${self.breadcrumbs()} |
21 </div> | 21 </div> |
22 | 22 |
23 <h3 class="${'closed' if c.pull_request.is_closed() else ''}"> | 23 <div class="pr-details-title ${'closed' if c.pull_request.is_closed() else ''}"> |
24 <img src="${h.url('/images/icons/flag_status_%s.png' % str(c.pull_request.last_review_status))}" /> | |
25 ${_('Title')}: ${c.pull_request.title} | 24 ${_('Title')}: ${c.pull_request.title} |
26 %if c.pull_request.is_closed(): | 25 %if c.pull_request.is_closed(): |
27 (${_('Closed')}) | 26 (${_('Closed')}) |
28 %endif | 27 %endif |
29 </h3> | 28 </div> |
30 | 29 |
31 <div class="form"> | 30 <div class="form"> |
32 <div id="summary" class="fields"> | 31 <div id="summary" class="fields"> |
33 <div class="field"> | 32 <div class="field"> |
34 <div class="label-summary"> | 33 <div class="label-summary"> |
35 <label>${_('Review status')}:</label> | 34 <label>${_('Review status')}:</label> |
36 </div> | 35 </div> |
37 <div class="input"> | 36 <div class="input"> |
38 <div class="changeset-status-container" style="float:none;clear:both"> | 37 <div class="changeset-status-container" style="float:none;clear:both"> |
39 %if c.current_changeset_status: | 38 %if c.current_changeset_status: |
40 <div title="${_('Pull request status calculated from votes')}" class="changeset-status-lbl"> | 39 <div class="changeset-status-ico" style="padding:0px 4px 0px 0px"><img src="${h.url('/images/icons/flag_status_%s.png' % c.current_changeset_status)}" title="${_('Pull request status calculated from votes')}"/></div> |
40 <div class="changeset-status-lbl tooltip" title="${_('Pull request status calculated from votes')}"> | |
41 %if c.pull_request.is_closed(): | 41 %if c.pull_request.is_closed(): |
42 ${_('Closed')}, | 42 ${_('Closed')}, |
43 %endif | 43 %endif |
44 ${h.changeset_status_lbl(c.current_changeset_status)} | 44 ${h.changeset_status_lbl(c.current_changeset_status)} |
45 </div> | 45 </div> |
46 <div class="changeset-status-ico" style="padding:1px 4px"><img src="${h.url('/images/icons/flag_status_%s.png' % c.current_changeset_status)}" title="${_('Pull request status calculated from votes')}"/></div> | 46 |
47 %endif | 47 %endif |
48 </div> | 48 </div> |
49 </div> | 49 </div> |
50 </div> | 50 </div> |
51 <div class="field"> | 51 <div class="field"> |