[#692] header-menu subentries closer together
2 columns instead of 3 for issue detail
This commit is contained in:
parent
e371bcad24
commit
d22afea284
|
@ -25,47 +25,33 @@
|
|||
|
||||
<div class="meta">
|
||||
<table class="attributes">
|
||||
<tr>
|
||||
<th class="status"><%=l(:field_status)%>:</th>
|
||||
<td class="status"><%= h(@issue.status.name) %></td>
|
||||
|
||||
<th class="category"><%=l(:field_category)%>:</th>
|
||||
<td class="category"><%=h(@issue.category ? @issue.category.name : "-") %></td>
|
||||
|
||||
<th class="start-date"><%=l(:field_start_date)%>:</th>
|
||||
<td class="start-date"><%= format_date(@issue.start_date) %></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th class="priority"><%=l(:field_priority)%>:</th>
|
||||
<td class="priority"><%= h(@issue.priority.name) %></td>
|
||||
|
||||
<th class="fixed-version"><%=l(:field_fixed_version)%>:</th>
|
||||
<td class="fixed-version"><%= @issue.fixed_version ? link_to_version(@issue.fixed_version) : "-" %></td>
|
||||
|
||||
<th class="due-date"><%=l(:field_due_date)%>:</th>
|
||||
<td class="due-date"><%= format_date(@issue.due_date) %></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th class="assigned-to"><%=l(:field_assigned_to)%>:</th>
|
||||
<td class="assigned-to"><%= avatar(@issue.assigned_to, :size => "14") %><%= @issue.assigned_to ? link_to_user(@issue.assigned_to) : "-" %></td>
|
||||
|
||||
<th class="progress"><%=l(:field_done_ratio)%>:</th>
|
||||
<td class="progress"><%= progress_bar @issue.done_ratio, :width => '80px', :legend => "#{@issue.done_ratio}%" %></td>
|
||||
|
||||
<tr>
|
||||
<th class="status"><%=l(:field_status)%>:</th><td class="status"><%= h(@issue.status.name) %></td>
|
||||
<th class="start-date"><%=l(:field_start_date)%>:</th><td class="start-date"><%= format_date(@issue.start_date) %></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th class="priority"><%=l(:field_priority)%>:</th><td class="priority"><%= h(@issue.priority.name) %></td>
|
||||
<th class="due-date"><%=l(:field_due_date)%>:</th><td class="due-date"><%= format_date(@issue.due_date) %></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th class="assigned-to"><%=l(:field_assigned_to)%>:</th><td class="assigned-to"><%= avatar(@issue.assigned_to, :size => "14") %><%= @issue.assigned_to ? link_to_user(@issue.assigned_to) : "-" %></td>
|
||||
<th class="progress"><%=l(:field_done_ratio)%>:</th><td class="progress"><%= progress_bar @issue.done_ratio, :width => '80px', :legend => "#{@issue.done_ratio}%" %></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th class="category"><%=l(:field_category)%>:</th><td class="category"><%=h(@issue.category ? @issue.category.name : "-") %></td>
|
||||
<% if User.current.allowed_to?(:view_time_entries, @project) %>
|
||||
<th class="spent-time"><%=l(:label_spent_time)%>:</th>
|
||||
<td class="spent-time"><%= @issue.spent_hours > 0 ? (link_to l_hours(@issue.spent_hours), {:controller => 'timelog', :action => 'index', :project_id => @project, :issue_id => @issue}) : "-" %></td>
|
||||
<th class="spent-time"><%=l(:label_spent_time)%>:</th>
|
||||
<td class="spent-time"><%= @issue.spent_hours > 0 ? (link_to l_hours(@issue.spent_hours), {:controller => 'timelog', :action => 'index', :project_id => @project, :issue_id => @issue}) : "-" %></td>
|
||||
<% end %>
|
||||
|
||||
</tr>
|
||||
<tr>
|
||||
<th class="fixed-version"><%=l(:field_fixed_version)%>:</th><td class="fixed-version"><%= @issue.fixed_version ? link_to_version(@issue.fixed_version) : "-" %></td>
|
||||
<% if @issue.estimated_hours %>
|
||||
<th class="estimated-hours"><%=l(:field_estimated_hours)%>:</th>
|
||||
<td class="estimated-hours"><%= l_hours(@issue.estimated_hours) %></td>
|
||||
<th class="estimated-hours"><%=l(:field_estimated_hours)%>:</th><td class="estimated-hours"><%= l_hours(@issue.estimated_hours) %></td>
|
||||
<% end %>
|
||||
</tr>
|
||||
|
||||
<%= render_custom_fields_rows(@issue) %>
|
||||
|
||||
<%= call_hook(:view_issues_show_details_bottom, :issue => @issue) %>
|
||||
</tr>
|
||||
<%= render_custom_fields_rows(@issue) %>
|
||||
<%= call_hook(:view_issues_show_details_bottom, :issue => @issue) %>
|
||||
</table>
|
||||
</div><!-- .meta -->
|
||||
|
||||
|
|
|
@ -266,6 +266,9 @@ div.issue div.subject h3 {margin: 0; margin-bottom: 0.1em;}
|
|||
#issue_tree table.issues { border: 0; }
|
||||
#issue_tree td.checkbox {display:none;}
|
||||
|
||||
#content fieldset#filters {
|
||||
padding-bottom:10px;
|
||||
}
|
||||
fieldset#filters legend {
|
||||
-moz-border-radius-bottomleft:0px;
|
||||
-moz-border-radius-bottomright:0px;
|
||||
|
@ -1249,9 +1252,12 @@ input:-moz-placeholder {
|
|||
font-family:"Arial", Arial, sans-serif;
|
||||
font-style:normal;
|
||||
font-weight:normal;
|
||||
margin:6px;
|
||||
height:20px;
|
||||
line-height:20px;
|
||||
margin-top:3px;
|
||||
margin-bottom:3px;
|
||||
margin-left:6px;
|
||||
margin-right:6px;
|
||||
height:15px;
|
||||
line-height:15px;
|
||||
}
|
||||
#breadcrumb {
|
||||
height:38px;
|
||||
|
|
Loading…
Reference in New Issue