Index: app/views/versions/show.html.erb IDEA additional info: Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP <+>UTF-8 =================================================================== --- app/views/versions/show.html.erb (date 1487076849000) +++ app/views/versions/show.html.erb (date 1487078494000) @@ -11,31 +11,34 @@ <%= render :partial => 'versions/overview', :locals => {:version => @version} %> <%= render(:partial => "wiki/content", :locals => {:content => @version.wiki_page.content}) if @version.wiki_page %> -
-<% if @version.estimated_hours > 0 || User.current.allowed_to?(:view_time_entries, @project) %> -
<%= l(:label_time_tracking) %> - - - - - -<% if User.current.allowed_to_view_all_time_entries?(@project) %> - - - - -<% end %> -
<%= l(:field_estimated_hours) %><%= link_to html_hours(l_hours(@version.estimated_hours)), - project_issues_path(@version.project, :set_filter => 1, :status_id => '*', :fixed_version_id => @version.id, :c => [:tracker, :status, :subject, :estimated_hours], :t => [:estimated_hours]) %>
<%= l(:label_spent_time) %><%= link_to html_hours(l_hours(@version.spent_hours)), - project_time_entries_path(@version.project, :set_filter => 1, :"issue.fixed_version_id" => @version.id) %>
-
-<% end %> +<% content_for :sidebar do %> +
+ <% if @version.estimated_hours > 0 || User.current.allowed_to?(:view_time_entries, @project) %> +
<%= l(:label_time_tracking) %> + + + + + + <% if User.current.allowed_to_view_all_time_entries?(@project) %> + + + + + <% end %> +
<%= l(:field_estimated_hours) %><%= link_to html_hours(l_hours(@version.estimated_hours)), + project_issues_path(@version.project, :set_filter => 1, :status_id => '*', :fixed_version_id => @version.id, :c => [:tracker, :status, :subject, :estimated_hours], :t => [:estimated_hours]) %>
<%= l(:label_spent_time) %><%= link_to html_hours(l_hours(@version.spent_hours)), + project_time_entries_path(@version.project, :set_filter => 1, :"issue.fixed_version_id" => @version.id) %>
+
+ <% end %> -
-<%= render_issue_status_by(@version, params[:status_by]) if @version.fixed_issues.exists? %> -
-
+
+ <%= render_issue_status_by(@version, params[:status_by]) if @version.fixed_issues.exists? %> +
+
+<% end %> +
<% if @issues.present? %> <%= form_tag({}, :data => {:cm_url => issues_context_menu_path}) do -%> @@ -51,6 +54,7 @@ <%= context_menu %> <% end %> + <%= call_hook :view_versions_show_bottom, :version => @version %>