diff --git a/app/views/issues/_history.html.erb b/app/views/issues/_history.html.erb index a5b1661eb..2ad36875c 100644 --- a/app/views/issues/_history.html.erb +++ b/app/views/issues/_history.html.erb @@ -1,33 +1,31 @@ <% reply_links = authorize_for('issues', 'edit') -%> <% journals.reverse.each do |journal| %> - -
- -
- -
-
- <%= journal.user %><%= format_time journal.created_on %> + +
+ +
+ +
+
+ <%= journal.user %><%= format_time journal.created_on %> +
+

+ <% if journal.details.any? %> + <% details_to_strings(journal.details).each do |string| %> +

<%= string %>

+ <% end %> + <% end %> +

+
+ +
<%= render_links_easy(issue, journal, :reply_links => reply_links) unless journal.notes.blank? %>
+ +

<%= render_notes_issue(issue, journal, :reply_links => reply_links) unless journal.notes.blank? %>

+
+
-

- <% if journal.details.any? %> - <% details_to_strings(journal.details).each do |string| %> -

<%= string %>

- <% end %> - <% end %> -

- -
<%= render_links_easy(issue, journal, :reply_links => reply_links) unless journal.notes.blank? %>
- -

- <%= render_notes_issue(issue, journal, :reply_links => reply_links) unless journal.notes.blank? %> -

-
-
-
-
<%= call_hook(:view_issues_history_journal_bottom, { :journal => journal }) %> <% end %>