Project

General

Profile

Patch #3245 ยป show.patch

Anonymous, 2009-04-27 13:34

View differences:

show.rhtml (working copy)
35 35
                                       :include => [:status, :tracker],
36 36
                                       :order => "#{Tracker.table_name}.position, #{Issue.table_name}.id") %>
37 37
<% if issues.size > 0 %>
38
<fieldset class="related-issues"><legend><%= l(:label_related_issues) %></legend>
38
<fieldset class="related-issues"><legend><%= l(:label_related_issues) %> (<%= l(:field_estimated_hours) %> / <%= l(:label_spent_time) %>)</legend>
39 39
<ul>
40 40
<% issues.each do |issue| -%>
41
    <li><%= link_to_issue(issue) %>: <%=h issue.subject %></li>
41
    <li><%= link_to_issue(issue) %>: <%=h issue.subject %> (<% if (issue.estimated_hours != nil && issue.estimated_hours > 0) %><%= issue.estimated_hours %><% else %>0<% end %> / <% if issue.spent_hours > 0 %><%= issue.spent_hours %><% else %>0<% end %>)</li>	
42 42
<% end -%>
43 43
</ul>
44 44
</fieldset>
    (1-1/1)