mirror of
https://github.com/rickbarrette/redmine_qbo.git
synced 2025-11-08 17:04:23 -05:00
Update view.html.erb
This commit is contained in:
@@ -22,7 +22,7 @@
|
|||||||
<%= avatar(@issue.author, :size => "50") %>
|
<%= avatar(@issue.author, :size => "50") %>
|
||||||
|
|
||||||
<div class="subject">
|
<div class="subject">
|
||||||
<%= @issue.subject %>
|
<%= render_issue_subject_with_tree(@issue) %>
|
||||||
</div>
|
</div>
|
||||||
<p class="author">
|
<p class="author">
|
||||||
<%= authoring @issue.created_on, @issue.author %>.
|
<%= authoring @issue.created_on, @issue.author %>.
|
||||||
@@ -101,7 +101,7 @@ end %>
|
|||||||
<% if @relations.present? || User.current.allowed_to?(:manage_issue_relations, @project) %>
|
<% if @relations.present? || User.current.allowed_to?(:manage_issue_relations, @project) %>
|
||||||
<hr />
|
<hr />
|
||||||
<div id="relations">
|
<div id="relations">
|
||||||
<%= render :partial => 'relations' %>
|
<%= render :partial => 'issues/relations' %>
|
||||||
</div>
|
</div>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
||||||
@@ -110,49 +110,16 @@ end %>
|
|||||||
<% if @changesets.present? %>
|
<% if @changesets.present? %>
|
||||||
<div id="issue-changesets">
|
<div id="issue-changesets">
|
||||||
<h3><%=l(:label_associated_revisions)%></h3>
|
<h3><%=l(:label_associated_revisions)%></h3>
|
||||||
<%= render :partial => 'changesets', :locals => { :changesets => @changesets} %>
|
<%= render :partial => 'issues/changesets', :locals => { :changesets => @changesets} %>
|
||||||
</div>
|
</div>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
||||||
<% if @journals.present? %>
|
<% if @journals.present? %>
|
||||||
<div id="history">
|
<div id="history">
|
||||||
<h3><%=l(:label_history)%></h3>
|
<h3><%=l(:label_history)%></h3>
|
||||||
<%= render :partial => 'history', :locals => { :issue => @issue, :journals => @journals } %>
|
<%= render :partial => 'issues/history', :locals => { :issue => @issue, :journals => @journals } %>
|
||||||
</div>
|
</div>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
||||||
|
|
||||||
<div style="clear: both;"></div>
|
|
||||||
<%= render :partial => 'action_menu' %>
|
|
||||||
|
|
||||||
<div style="clear: both;"></div>
|
|
||||||
<% if @issue.editable? %>
|
|
||||||
<div id="update" style="display:none;">
|
|
||||||
<h3><%= l(:button_edit) %></h3>
|
|
||||||
<%= render :partial => 'edit' %>
|
|
||||||
</div>
|
|
||||||
<% 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}" %>
|
<% 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)) %>
|
|
||||||
<div id="watchers">
|
|
||||||
<%= render :partial => 'watchers/watchers', :locals => {:watched => @issue} %>
|
|
||||||
</div>
|
|
||||||
<% 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 %>
|
|
||||||
|
|||||||
Reference in New Issue
Block a user