Changeset - 95ec841bfe1f
[Not reviewed]
default
0 2 0
Marcin Kuzminski - 12 years ago 2013-06-27 23:20:08
marcin@python-works.com
pull requests: remove redundant status icon from pr title.

- add tooltip to show the status calculation
2 files changed with 11 insertions and 6 deletions:
0 comments (0 inline, 0 general)
rhodecode/public/css/style.css
Show inline comments
 
@@ -4657,7 +4657,7 @@ PULL REQUESTS
 
    font-weight: bold;
 
}
 

	
 
h3.closed,
 
div.pr-details-title.closed,
 
#pullrequests_container li.closed a
 
 {
 
    color: #555;
 
@@ -4667,6 +4667,11 @@ h3.closed,
 
div.pr-title {
 
    font-size: 1.6em;
 
}
 
div.pr-details-title{
 
    font-size: 1.6em;
 
    margin: 0px 20px 0px 20px;
 
    padding: 5px 0px 5px 10px;
 
}
 

	
 
div.pr {
 
    border-bottom: 1px solid #DDD;
rhodecode/templates/pullrequests/pullrequest_show.html
Show inline comments
 
@@ -20,13 +20,12 @@ ${self.repo_context_bar('showpullrequest
 
        ${self.breadcrumbs()}
 
    </div>
 

	
 
    <h3 class="${'closed' if c.pull_request.is_closed() else ''}">
 
        <img src="${h.url('/images/icons/flag_status_%s.png' % str(c.pull_request.last_review_status))}" />
 
    <div class="pr-details-title ${'closed' if c.pull_request.is_closed() else ''}">
 
        ${_('Title')}: ${c.pull_request.title}
 
        %if c.pull_request.is_closed():
 
            (${_('Closed')})
 
        %endif
 
    </h3>
 
    </div>
 

	
 
    <div class="form">
 
      <div id="summary" class="fields">
 
@@ -37,13 +36,14 @@ ${self.repo_context_bar('showpullrequest
 
          <div class="input">
 
            <div class="changeset-status-container" style="float:none;clear:both">
 
            %if c.current_changeset_status:
 
              <div title="${_('Pull request status calculated from votes')}" class="changeset-status-lbl">
 
              <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>
 
              <div class="changeset-status-lbl tooltip" title="${_('Pull request status calculated from votes')}">
 
                %if c.pull_request.is_closed():
 
                    ${_('Closed')},
 
                %endif
 
                ${h.changeset_status_lbl(c.current_changeset_status)}
 
              </div>
 
              <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>
 

	
 
            %endif
 
            </div>
 
          </div>
0 comments (0 inline, 0 general)