Fix missing cells and incorrect close order
This commit is contained in:
parent
b15e6d8305
commit
1cfd20e7e7
@ -91,7 +91,7 @@ module IssuesHelper
|
|||||||
content_tag('td', progress_bar(el.done_ratio, :width => '80px')),
|
content_tag('td', progress_bar(el.done_ratio, :width => '80px')),
|
||||||
:class => "issue issue-#{el.id} #{"self" if el == issue} hascontextmenu #{level > 0 ? "idnt idnt-#{level}" : nil}")
|
:class => "issue issue-#{el.id} #{"self" if el == issue} hascontextmenu #{level > 0 ? "idnt idnt-#{level}" : nil}")
|
||||||
end
|
end
|
||||||
s << '</form></table>'
|
s << '</table></form>'
|
||||||
s
|
s
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -39,12 +39,16 @@
|
|||||||
<% 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>
|
||||||
|
<% else %>
|
||||||
|
<th></th><td></td>
|
||||||
<% end %>
|
<% end %>
|
||||||
</tr>
|
</tr>
|
||||||
<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>
|
<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><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>
|
||||||
|
<% else %>
|
||||||
|
<th></th><td></td>
|
||||||
<% end %>
|
<% end %>
|
||||||
</tr>
|
</tr>
|
||||||
<%= render_custom_fields_rows(@issue) %>
|
<%= render_custom_fields_rows(@issue) %>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user