mirror of
https://github.com/rickbarrette/redmine_qbo.git
synced 2025-11-08 17:04:23 -05:00
fixed customer link - missing view issues/history
This commit is contained in:
35
app/views/issues/_history.html.erb
Normal file
35
app/views/issues/_history.html.erb
Normal file
@@ -0,0 +1,35 @@
|
|||||||
|
<% reply_links = issue.notes_addable? -%>
|
||||||
|
<% for journal in journals %>
|
||||||
|
<div id="change-<%= journal.id %>" class="<%= journal.css_classes %>">
|
||||||
|
<div id="note-<%= journal.indice %>">
|
||||||
|
<div class="contextual">
|
||||||
|
<span class="journal-actions"><%= render_journal_actions(issue, journal, :reply_links => reply_links) %></span>
|
||||||
|
<a href="#note-<%= journal.indice %>" class="journal-link">#<%= journal.indice %></a>
|
||||||
|
</div>
|
||||||
|
<h4>
|
||||||
|
<%= avatar(journal.user, :size => "24") %>
|
||||||
|
<%= authoring journal.created_on, journal.user, :label => :label_updated_time_by %>
|
||||||
|
<%= render_private_notes_indicator(journal) %>
|
||||||
|
</h4>
|
||||||
|
|
||||||
|
<% if journal.details.any? %>
|
||||||
|
<ul class="details">
|
||||||
|
<% details_to_strings(journal.visible_details).each do |string| %>
|
||||||
|
<li><%= string %></li>
|
||||||
|
<% end %>
|
||||||
|
</ul>
|
||||||
|
<% if Setting.thumbnails_enabled? && (thumbnail_attachments = journal_thumbnail_attachments(journal)).any? %>
|
||||||
|
<div class="thumbnails">
|
||||||
|
<% thumbnail_attachments.each do |attachment| %>
|
||||||
|
<div><%= thumbnail_tag(attachment) %></div>
|
||||||
|
<% end %>
|
||||||
|
</div>
|
||||||
|
<% end %>
|
||||||
|
<% end %>
|
||||||
|
<%= render_notes(issue, journal, :reply_links => reply_links) unless journal.notes.blank? %>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<%= call_hook(:view_issues_history_journal_bottom, { :journal => journal }) %>
|
||||||
|
<% end %>
|
||||||
|
|
||||||
|
<% heads_for_wiki_formatter if User.current.allowed_to?(:edit_issue_notes, issue.project) || User.current.allowed_to?(:edit_own_issue_notes, issue.project) %>
|
||||||
Reference in New Issue
Block a user