[#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">
|
<div class="meta">
|
||||||
<table class="attributes">
|
<table class="attributes">
|
||||||
<tr>
|
<tr>
|
||||||
<th class="status"><%=l(:field_status)%>:</th>
|
<th class="status"><%=l(:field_status)%>:</th><td class="status"><%= h(@issue.status.name) %></td>
|
||||||
<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>
|
||||||
<th class="category"><%=l(:field_category)%>:</th>
|
<tr>
|
||||||
<td class="category"><%=h(@issue.category ? @issue.category.name : "-") %></td>
|
<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>
|
||||||
<th class="start-date"><%=l(:field_start_date)%>:</th>
|
</tr>
|
||||||
<td class="start-date"><%= format_date(@issue.start_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>
|
||||||
<tr>
|
<th class="progress"><%=l(:field_done_ratio)%>:</th><td class="progress"><%= progress_bar @issue.done_ratio, :width => '80px', :legend => "#{@issue.done_ratio}%" %></td>
|
||||||
<th class="priority"><%=l(:field_priority)%>:</th>
|
</tr>
|
||||||
<td class="priority"><%= h(@issue.priority.name) %></td>
|
<tr>
|
||||||
|
<th class="category"><%=l(:field_category)%>:</th><td class="category"><%=h(@issue.category ? @issue.category.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>
|
|
||||||
|
|
||||||
<% if User.current.allowed_to?(:view_time_entries, @project) %>
|
<% if User.current.allowed_to?(:view_time_entries, @project) %>
|
||||||
<th class="spent-time"><%=l(:label_spent_time)%>:</th>
|
<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>
|
<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 %>
|
<% 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 %>
|
<% if @issue.estimated_hours %>
|
||||||
<th class="estimated-hours"><%=l(:field_estimated_hours)%>:</th>
|
<th class="estimated-hours"><%=l(:field_estimated_hours)%>:</th><td class="estimated-hours"><%= l_hours(@issue.estimated_hours) %></td>
|
||||||
<td class="estimated-hours"><%= l_hours(@issue.estimated_hours) %></td>
|
|
||||||
<% end %>
|
<% end %>
|
||||||
</tr>
|
</tr>
|
||||||
|
<%= render_custom_fields_rows(@issue) %>
|
||||||
<%= render_custom_fields_rows(@issue) %>
|
<%= call_hook(:view_issues_show_details_bottom, :issue => @issue) %>
|
||||||
|
|
||||||
<%= call_hook(:view_issues_show_details_bottom, :issue => @issue) %>
|
|
||||||
</table>
|
</table>
|
||||||
</div><!-- .meta -->
|
</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 table.issues { border: 0; }
|
||||||
#issue_tree td.checkbox {display:none;}
|
#issue_tree td.checkbox {display:none;}
|
||||||
|
|
||||||
|
#content fieldset#filters {
|
||||||
|
padding-bottom:10px;
|
||||||
|
}
|
||||||
fieldset#filters legend {
|
fieldset#filters legend {
|
||||||
-moz-border-radius-bottomleft:0px;
|
-moz-border-radius-bottomleft:0px;
|
||||||
-moz-border-radius-bottomright:0px;
|
-moz-border-radius-bottomright:0px;
|
||||||
|
@ -1249,9 +1252,12 @@ input:-moz-placeholder {
|
||||||
font-family:"Arial", Arial, sans-serif;
|
font-family:"Arial", Arial, sans-serif;
|
||||||
font-style:normal;
|
font-style:normal;
|
||||||
font-weight:normal;
|
font-weight:normal;
|
||||||
margin:6px;
|
margin-top:3px;
|
||||||
height:20px;
|
margin-bottom:3px;
|
||||||
line-height:20px;
|
margin-left:6px;
|
||||||
|
margin-right:6px;
|
||||||
|
height:15px;
|
||||||
|
line-height:15px;
|
||||||
}
|
}
|
||||||
#breadcrumb {
|
#breadcrumb {
|
||||||
height:38px;
|
height:38px;
|
||||||
|
|
Loading…
Reference in New Issue