From d1c6492ea35f68f10f7f053cc922561a4d86e175 Mon Sep 17 00:00:00 2001 From: Rick Barrette Date: Fri, 2 Sep 2016 11:26:51 -0400 Subject: [PATCH] Update view.html.erb --- app/views/customers/view.html.erb | 41 +++---------------------------- 1 file changed, 4 insertions(+), 37 deletions(-) diff --git a/app/views/customers/view.html.erb b/app/views/customers/view.html.erb index 3fe44fa..2fe01d7 100644 --- a/app/views/customers/view.html.erb +++ b/app/views/customers/view.html.erb @@ -22,7 +22,7 @@ <%= avatar(@issue.author, :size => "50") %>
-<%= @issue.subject %> +<%= render_issue_subject_with_tree(@issue) %>

<%= authoring @issue.created_on, @issue.author %>. @@ -101,7 +101,7 @@ end %> <% if @relations.present? || User.current.allowed_to?(:manage_issue_relations, @project) %>


-<%= render :partial => 'relations' %> +<%= render :partial => 'issues/relations' %>
<% end %> @@ -110,49 +110,16 @@ end %> <% if @changesets.present? %>

<%=l(:label_associated_revisions)%>

-<%= render :partial => 'changesets', :locals => { :changesets => @changesets} %> +<%= render :partial => 'issues/changesets', :locals => { :changesets => @changesets} %>
<% end %> <% if @journals.present? %>

<%=l(:label_history)%>

-<%= render :partial => 'history', :locals => { :issue => @issue, :journals => @journals } %> +<%= render :partial => 'issues/history', :locals => { :issue => @issue, :journals => @journals } %>
<% end %> -
-<%= render :partial => 'action_menu' %> - -
-<% if @issue.editable? %> - -<% end %> - -<% other_formats_links do |f| %> - <%= f.link_to 'Atom', :url => {:key => User.current.rss_key} %> - <%= f.link_to 'PDF' %> -<% end %> - <% html_title "#{@issue.tracker.name} ##{@issue.id}: #{@issue.subject}" %> - -<% content_for :sidebar do %> - <%= render :partial => 'issues/sidebar' %> - - <% if User.current.allowed_to?(:add_issue_watchers, @project) || - (@issue.watchers.present? && User.current.allowed_to?(:view_issue_watchers, @project)) %> -
- <%= render :partial => 'watchers/watchers', :locals => {:watched => @issue} %> -
- <% end %> -<% end %> - -<% content_for :header_tags do %> - <%= auto_discovery_link_tag(:atom, {:format => 'atom', :key => User.current.rss_key}, :title => "#{@issue.project} - #{@issue.tracker} ##{@issue.id}: #{@issue.subject}") %> -<% end %> - -<%= context_menu issues_context_menu_path %>