[#692] Update the style of the issue show page to be cleaner

This commit is contained in:
Eric Davis 2011-12-10 12:22:38 -08:00
parent 9f0bd25523
commit d32480753b
2 changed files with 7 additions and 6 deletions

View File

@ -1,6 +1,4 @@
<div class="title-bar" id="upper-title-bar"> <div class="title-bar" id="upper-title-bar">
<div class="subject"><%= content_tag('h2', h(@issue.tracker.name) + ' #' +@issue.id.to_s) %></div>
<div class="title-bar-actions"> <div class="title-bar-actions">
<%= render :partial => 'action_menu' %> <%= render :partial => 'action_menu' %>
</div> </div>
@ -10,9 +8,10 @@
<div class="profile-wrap"> <div class="profile-wrap">
<%= avatar(@issue.author, :size => "40") %> <%= avatar(@issue.author, :size => "40") %>
</div> </div>
<h3>
<%=h(@issue.subject) %> <h1 class="subject">
</h3> <%=h(@issue.subject) %> (<%= h(@issue.tracker.name) + ' #' +@issue.id.to_s %>)
</h1>
<hr /> <hr />
<p class="author"> <p class="author">

View File

@ -1527,6 +1527,8 @@ h1.title {
#content .title-bar { #content .title-bar {
position:relative; position:relative;
margin-bottom:10px; margin-bottom:10px;
top: -10px;
} }
.title-bar h2 { .title-bar h2 {
padding:9px 100px 9px 12px; padding:9px 100px 9px 12px;
@ -2314,7 +2316,7 @@ fieldset#filters div.add-filter {
.title-bar .contextual { .title-bar .contextual {
padding:0 12px 0 12px; padding:0 12px 0 12px;
position:absolute; position:absolute;
right:10px; right:0px;
top:0; top:0;
margin:0; margin:0;
} }