@@ -19,36 +19,36 | |||||
19 | <% end %> |
|
19 | <% end %> | |
20 | </p> |
|
20 | </p> | |
21 |
|
21 | |||
22 | <table width="100%"> |
|
22 | <table class="attributes"> | |
23 | <tr> |
|
23 | <tr> | |
24 |
< |
|
24 | <th class="status"><%=l(:field_status)%>:</th><td class="status"><%= @issue.status.name %></td> | |
25 |
< |
|
25 | <th class="start-date"><%=l(:field_start_date)%>:</th><td><%= format_date(@issue.start_date) %></td> | |
26 | </tr> |
|
26 | </tr> | |
27 | <tr> |
|
27 | <tr> | |
28 |
<t |
|
28 | <th class="priority"><%=l(:field_priority)%>:</th><td class="priority"><%= @issue.priority.name %></td> | |
29 |
<t |
|
29 | <th class="due-date"><%=l(:field_due_date)%>:</th><td class="due-date"><%= format_date(@issue.due_date) %></td> | |
30 | </tr> |
|
30 | </tr> | |
31 | <tr> |
|
31 | <tr> | |
32 |
<t |
|
32 | <th class="assigned-to"><%=l(:field_assigned_to)%>:</th><td><%= avatar(@issue.assigned_to, :size => "14") %><%= @issue.assigned_to ? link_to_user(@issue.assigned_to) : "-" %></td> | |
33 |
<t |
|
33 | <th class="progress"><%=l(:field_done_ratio)%>:</th><td class="progress"><%= progress_bar @issue.done_ratio, :width => '80px', :legend => "#{@issue.done_ratio}%" %></td> | |
34 | </tr> |
|
34 | </tr> | |
35 | <tr> |
|
35 | <tr> | |
36 |
<t |
|
36 | <th class="category"><%=l(:field_category)%>:</th><td><%=h @issue.category ? @issue.category.name : "-" %></td> | |
37 | <% if User.current.allowed_to?(:view_time_entries, @project) %> |
|
37 | <% if User.current.allowed_to?(:view_time_entries, @project) %> | |
38 |
<t |
|
38 | <th class="spent-time"><%=l(:label_spent_time)%>:</th> | |
39 | <td class="spent-hours"><%= @issue.spent_hours > 0 ? (link_to l_hours(@issue.spent_hours), {:controller => 'timelog', :action => 'details', :project_id => @project, :issue_id => @issue}) : "-" %></td> |
|
39 | <td class="spent-hours"><%= @issue.spent_hours > 0 ? (link_to l_hours(@issue.spent_hours), {:controller => 'timelog', :action => 'details', :project_id => @project, :issue_id => @issue}) : "-" %></td> | |
40 | <% end %> |
|
40 | <% end %> | |
41 | </tr> |
|
41 | </tr> | |
42 | <tr> |
|
42 | <tr> | |
43 |
<t |
|
43 | <th class="fixed-version"><%=l(:field_fixed_version)%>:</th><td><%= @issue.fixed_version ? link_to_version(@issue.fixed_version) : "-" %></td> | |
44 | <% if @issue.estimated_hours %> |
|
44 | <% if @issue.estimated_hours %> | |
45 |
<t |
|
45 | <th class="estimated-hours"><%=l(:field_estimated_hours)%>:</th><td><%= l_hours(@issue.estimated_hours) %></td> | |
46 | <% end %> |
|
46 | <% end %> | |
47 | </tr> |
|
47 | </tr> | |
48 | <tr> |
|
48 | <tr> | |
49 | <% n = 0 -%> |
|
49 | <% n = 0 -%> | |
50 | <% @issue.custom_field_values.each do |value| -%> |
|
50 | <% @issue.custom_field_values.each do |value| -%> | |
51 |
<t |
|
51 | <th><%=h value.custom_field.name %>:</th><td><%= simple_format_without_paragraph(h(show_value(value))) %></td> | |
52 | <% n = n + 1 |
|
52 | <% n = n + 1 | |
53 | if (n > 1) |
|
53 | if (n > 1) | |
54 | n = 0 %> |
|
54 | n = 0 %> |
@@ -155,6 +155,10 a.sort { padding-right: 16px; background-position: 100% 50%; background-repeat: | |||||
155 | a.sort.asc { background-image: url(../images/sort_asc.png); } |
|
155 | a.sort.asc { background-image: url(../images/sort_asc.png); } | |
156 | a.sort.desc { background-image: url(../images/sort_desc.png); } |
|
156 | a.sort.desc { background-image: url(../images/sort_desc.png); } | |
157 |
|
157 | |||
|
158 | table.attributes { width: 100% } | |||
|
159 | table.attributes th { vertical-align: top; text-align: left; } | |||
|
160 | table.attributes td { vertical-align: top; } | |||
|
161 | ||||
158 | .highlight { background-color: #FCFD8D;} |
|
162 | .highlight { background-color: #FCFD8D;} | |
159 | .highlight.token-1 { background-color: #faa;} |
|
163 | .highlight.token-1 { background-color: #faa;} | |
160 | .highlight.token-2 { background-color: #afa;} |
|
164 | .highlight.token-2 { background-color: #afa;} |
General Comments 0
You need to be logged in to leave comments.
Login now