Patch #36429 » 36429-more_consistent_issue_tab_dom.patch
| app/views/issues/tabs/_changesets.html.erb | ||
|---|---|---|
|
<% @changesets.each do |changeset| %>
|
||
|
<div id="changeset-<%= changeset.id %>" class="changeset journal">
|
||
|
<h4>
|
||
|
<div class="note">
|
||
|
<h4 class='note-header'>
|
||
|
<%= avatar(changeset.user, :size => "24") %>
|
||
|
<%= authoring changeset.committed_on, changeset.author, :label => :label_added_time_by %>
|
||
|
</h4>
|
||
| ... | ... | |
|
<div class="wiki changeset-comments">
|
||
|
<%= format_changeset_comments changeset %>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
<%= call_hook(:view_issues_history_changeset_bottom, { :changeset => changeset }) %>
|
||
|
<% end %>
|
||
| app/views/issues/tabs/_history.html.erb | ||
|---|---|---|
|
<% reply_links = issue.notes_addable? -%>
|
||
|
<% for journal in journals %>
|
||
|
<div id="change-<%= journal.id %>" class="<%= journal.css_classes %>">
|
||
|
<div id="note-<%= journal.indice %>">
|
||
|
<div id="note-<%= journal.indice %>" class="note">
|
||
|
<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>
|
||
| app/views/issues/tabs/_time_entries.html.erb | ||
|---|---|---|
|
<% for time_entry in time_entries%>
|
||
|
<div id="time-entry-<%= time_entry.id %>" class="time_entry journal">
|
||
|
<div class="note">
|
||
|
<% if time_entry.editable_by?(User.current) -%>
|
||
|
<div class="contextual">
|
||
|
<span class="journal-actions">
|
||
|
<%= link_to l(:button_edit), edit_time_entry_path(time_entry),
|
||
|
:title => l(:button_edit),
|
||
|
:class => 'icon-only icon-edit' %>
|
||
| ... | ... | |
|
:method => :delete,
|
||
|
:title => l(:button_delete),
|
||
|
:class => 'icon-only icon-del' %>
|
||
|
</span>
|
||
|
</div>
|
||
|
<% end -%>
|
||
|
<h4>
|
||
|
<h4 class='note-header'>
|
||
|
<%= avatar(time_entry.user, :size => "24") %>
|
||
|
<%= authoring time_entry.created_on, time_entry.user, :label => :label_added_time_by %>
|
||
|
</h4>
|
||
| ... | ... | |
|
</li>
|
||
|
</ul>
|
||
|
<p><%= time_entry.comments %></p>
|
||
|
</div>
|
||
|
</div>
|
||
|
<%= call_hook(:view_issues_history_time_entry_bottom, { :time_entry => time_entry }) %>
|
||
|
<% end %>
|
||