diff --git a/app/views/issues/show.rhtml b/app/views/issues/show.rhtml index 8a3b69a3..e4042a1e 100644 --- a/app/views/issues/show.rhtml +++ b/app/views/issues/show.rhtml @@ -1,63 +1,92 @@ -<%= render :partial => 'action_menu' %> +
+

<%= render_issue_subject_with_tree(@issue) %>

-

<%= h(@issue.tracker.name) %> #<%= h(@issue.id) %><%= call_hook(:view_issues_show_identifier, :issue => @issue) %>

+
+ <%= render :partial => 'action_menu' %> +
+
- <%= avatar(@issue.author, :size => "50") %> +
+ <%= avatar(@issue.author, :size => "40") %> +
+

+ <%= h(@issue.tracker.name) %> #<%= @issue.id %> +

-
-<%= render_issue_subject_with_tree(@issue) %> -
-

- <%= authoring @issue.created_on, @issue.author %>. - <% if @issue.created_on != @issue.updated_on %> - <%= l(:label_updated_time, time_tag(@issue.updated_on)) %>. +

+ <%= authoring @issue.created_on, @issue.author %>. + <%= l(:label_updated_time, time_tag(@issue.updated_on)) %> + <% if @issue.created_on != @issue.updated_on %> + <%= l(:label_updated_time, time_tag(@issue.updated_on)) %>. + <% end %> +

+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + <% if User.current.allowed_to?(:view_time_entries, @project) %> + + <% end %> -

+ + <% if @issue.estimated_hours %> + + + <% end %> + -
<%=l(:field_status)%>:<%= h(@issue.status.name) %><%=l(:field_category)%>:<%=h(@issue.category ? @issue.category.name : "-") %><%=l(:field_start_date)%>:<%= format_date(@issue.start_date) %>
<%=l(:field_priority)%>:<%= @issue.priority.name %><%=l(:field_fixed_version)%>:<%= @issue.fixed_version ? link_to_version(@issue.fixed_version) : "-" %><%=l(:field_due_date)%>:<%= format_date(@issue.due_date) %>
<%=l(:field_assigned_to)%>:<%= avatar(@issue.assigned_to, :size => "14") %><%= @issue.assigned_to ? link_to_user(@issue.assigned_to) : "-" %><%=l(:field_done_ratio)%>:<%= progress_bar @issue.done_ratio, :width => '80px', :legend => "#{@issue.done_ratio}%" %><%=l(:label_spent_time)%>:<%= @issue.spent_hours > 0 ? (link_to l_hours(@issue.spent_hours), {:controller => 'timelog', :action => 'index', :project_id => @project, :issue_id => @issue}) : "-" %><%=l(:field_estimated_hours)%>:<%= l_hours(@issue.estimated_hours) %>
- - - - - - - - - - - - - - - <% if User.current.allowed_to?(:view_time_entries, @project) %> - - - <% end %> - - - - <% if @issue.estimated_hours %> - - <% end %> - -<%= render_custom_fields_rows(@issue) %> -<%= call_hook(:view_issues_show_details_bottom, :issue => @issue) %> -
<%=l(:field_status)%>:<%= h(@issue.status.name) %><%=l(:field_start_date)%>:<%= format_date(@issue.start_date) %>
<%=l(:field_priority)%>:<%= h(@issue.priority.name) %><%=l(:field_due_date)%>:<%= format_date(@issue.due_date) %>
<%=l(:field_assigned_to)%>:<%= avatar(@issue.assigned_to, :size => "14") %><%= @issue.assigned_to ? link_to_user(@issue.assigned_to) : "-" %><%=l(:field_done_ratio)%>:<%= progress_bar @issue.done_ratio, :width => '80px', :legend => "#{@issue.done_ratio}%" %>
<%=l(:field_category)%>:<%=h(@issue.category ? @issue.category.name : "-") %><%=l(:label_spent_time)%>:<%= @issue.spent_hours > 0 ? (link_to l_hours(@issue.spent_hours), {:controller => 'timelog', :action => 'index', :project_id => @project, :issue_id => @issue}) : "-" %>
<%=l(:field_fixed_version)%>:<%= @issue.fixed_version ? link_to_version(@issue.fixed_version) : "-" %><%=l(:field_estimated_hours)%>:<%= l_hours(@issue.estimated_hours) %>
+ <%= render_custom_fields_rows(@issue) %> + + <%= call_hook(:view_issues_show_details_bottom, :issue => @issue) %> + +
-<% if @issue.description? || @issue.attachments.any? -%> -
<% if @issue.description? %> -
- <%= link_to_remote_if_authorized(l(:button_quote), { :url => {:controller => 'journals', :action => 'new', :id => @issue} }, :class => 'icon icon-comment') %> -
+
-

<%=l(:field_description)%>

-
- <%= textilizable @issue, :description, :attachments => @issue.attachments %> -
+
+
+ <%= link_to_remote_if_authorized(l(:button_quote), { :url => {:controller => 'journals', :action => 'new', :id => @issue} }, :class => 'icon icon-comment') %> +
+ +

<%=l(:field_description)%>

+
+ <%= textilizable @issue, :description, :attachments => @issue.attachments %> +
+
<% end %> -<%= link_to_attachments @issue %> + +<% if @issue.attachments.any? -%> +
+ <%= link_to_attachments @issue %> <% end -%> <%= call_hook(:view_issues_show_description_bottom, :issue => @issue) %> @@ -98,7 +127,13 @@
-<%= render :partial => 'action_menu' %> + +
+

<%= h @issue.subject %>

+
+ <%= render :partial => 'action_menu', :locals => {:replace_watcher => 'watcher2' } %> +
+
<% if authorize_for('issues', 'edit') %> diff --git a/public/stylesheets/main.css b/public/stylesheets/main.css index acbbb9a1..f35bfcac 100644 --- a/public/stylesheets/main.css +++ b/public/stylesheets/main.css @@ -598,7 +598,7 @@ div.issue h3 { border:0 none; padding:0 3px; } -#content .meta table .title { +#content .meta table th { font-weight:bold; } #content .meta table td a, #content .meta table th a {