diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2009-07-29 18:35:29 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2009-07-29 18:35:29 +0000 |
commit | 9e07fb5e042bd94c38208c5d6be8dc0e044317e7 (patch) | |
tree | 84b175b73ef815dad8ac0aeb57293f403ac93d66 /app | |
parent | 26bbad5f23b8f9a3838095568038683d167cc808 (diff) | |
download | redmine-9e07fb5e042bd94c38208c5d6be8dc0e044317e7.tar.gz redmine-9e07fb5e042bd94c38208c5d6be8dc0e044317e7.zip |
Remove hard-coded styles from ticket attributes table.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2826 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app')
-rw-r--r-- | app/views/issues/show.rhtml | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/app/views/issues/show.rhtml b/app/views/issues/show.rhtml index 49796bbf4..776aa3387 100644 --- a/app/views/issues/show.rhtml +++ b/app/views/issues/show.rhtml @@ -19,36 +19,36 @@ <% end %> </p> -<table width="100%"> +<table class="attributes"> <tr> - <td style="width:15%" class="status"><b><%=l(:field_status)%>:</b></td><td style="width:35%" class="status"><%= @issue.status.name %></td> - <td style="width:15%" class="start-date"><b><%=l(:field_start_date)%>:</b></td><td style="width:35%"><%= format_date(@issue.start_date) %></td> + <th class="status"><%=l(:field_status)%>:</th><td class="status"><%= @issue.status.name %></td> + <th class="start-date"><%=l(:field_start_date)%>:</th><td><%= format_date(@issue.start_date) %></td> </tr> <tr> - <td class="priority"><b><%=l(:field_priority)%>:</b></td><td class="priority"><%= @issue.priority.name %></td> - <td class="due-date"><b><%=l(:field_due_date)%>:</b></td><td class="due-date"><%= format_date(@issue.due_date) %></td> + <th class="priority"><%=l(:field_priority)%>:</th><td class="priority"><%= @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> - <td class="assigned-to"><b><%=l(:field_assigned_to)%>:</b></td><td><%= avatar(@issue.assigned_to, :size => "14") %><%= @issue.assigned_to ? link_to_user(@issue.assigned_to) : "-" %></td> - <td class="progress"><b><%=l(:field_done_ratio)%>:</b></td><td class="progress"><%= progress_bar @issue.done_ratio, :width => '80px', :legend => "#{@issue.done_ratio}%" %></td> + <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> + <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> - <td class="category"><b><%=l(:field_category)%>:</b></td><td><%=h @issue.category ? @issue.category.name : "-" %></td> + <th class="category"><%=l(:field_category)%>:</th><td><%=h @issue.category ? @issue.category.name : "-" %></td> <% if User.current.allowed_to?(:view_time_entries, @project) %> - <td class="spent-time"><b><%=l(:label_spent_time)%>:</b></td> + <th class="spent-time"><%=l(:label_spent_time)%>:</th> <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> <% end %> </tr> <tr> - <td class="fixed-version"><b><%=l(:field_fixed_version)%>:</b></td><td><%= @issue.fixed_version ? link_to_version(@issue.fixed_version) : "-" %></td> + <th class="fixed-version"><%=l(:field_fixed_version)%>:</th><td><%= @issue.fixed_version ? link_to_version(@issue.fixed_version) : "-" %></td> <% if @issue.estimated_hours %> - <td class="estimated-hours"><b><%=l(:field_estimated_hours)%>:</b></td><td><%= l_hours(@issue.estimated_hours) %></td> + <th class="estimated-hours"><%=l(:field_estimated_hours)%>:</th><td><%= l_hours(@issue.estimated_hours) %></td> <% end %> </tr> <tr> <% n = 0 -%> <% @issue.custom_field_values.each do |value| -%> - <td valign="top"><b><%=h value.custom_field.name %>:</b></td><td valign="top"><%= simple_format(h(show_value(value))) %></td> + <th><%=h value.custom_field.name %>:</th><td><%= simple_format_without_paragraph(h(show_value(value))) %></td> <% n = n + 1 if (n > 1) n = 0 %> |