history_details_css_class.diff

Henrik Ammer, 2010-04-09 13:51

Download (836 Bytes)

View differences:

app/views/issues/_history.rhtml (working copy)
6 6
    <%= content_tag('a', '', :name => "note-#{journal.indice}")%>
7 7
		<%= authoring journal.created_on, journal.user, :label => :label_updated_time_by %></h4>
8 8
    
9
    <ul>
10
    <% for detail in journal.details %>
9
    <% if journal.details.any? %>
10
    <ul class="details">
11
      <% for detail in journal.details %>
11 12
       <li><%= show_detail(detail) %></li>
13
      <% end %>
14
    </ul>
12 15
    <% end %>
13
    </ul>
14 16
    <%= render_notes(issue, journal, :reply_links => reply_links) unless journal.notes.blank? %>
15 17
  </div>
16 18
  <%= call_hook(:view_issues_history_journal_bottom, { :journal => journal }) %>