Patch #36429 » 36429-more_consistent_issue_tab_dom.patch
app/views/issues/tabs/_changesets.html.erb | ||
---|---|---|
1 | 1 |
<% @changesets.each do |changeset| %> |
2 | 2 |
<div id="changeset-<%= changeset.id %>" class="changeset journal"> |
3 |
<h4> |
|
3 |
<div class="note"> |
|
4 |
<h4 class='note-header'> |
|
4 | 5 |
<%= avatar(changeset.user, :size => "24") %> |
5 | 6 |
<%= authoring changeset.committed_on, changeset.author, :label => :label_added_time_by %> |
6 | 7 |
</h4> |
... | ... | |
19 | 20 |
<div class="wiki changeset-comments"> |
20 | 21 |
<%= format_changeset_comments changeset %> |
21 | 22 |
</div> |
23 |
</div> |
|
22 | 24 |
</div> |
23 | 25 |
<%= call_hook(:view_issues_history_changeset_bottom, { :changeset => changeset }) %> |
24 | 26 |
<% end %> |
app/views/issues/tabs/_history.html.erb | ||
---|---|---|
6 | 6 |
<% reply_links = issue.notes_addable? -%> |
7 | 7 |
<% for journal in journals %> |
8 | 8 |
<div id="change-<%= journal.id %>" class="<%= journal.css_classes %>"> |
9 |
<div id="note-<%= journal.indice %>"> |
|
9 |
<div id="note-<%= journal.indice %>" class="note">
|
|
10 | 10 |
<div class="contextual"> |
11 | 11 |
<span class="journal-actions"><%= render_journal_actions(issue, journal, :reply_links => reply_links) %></span> |
12 | 12 |
<a href="#note-<%= journal.indice %>" class="journal-link">#<%= journal.indice %></a> |
app/views/issues/tabs/_time_entries.html.erb | ||
---|---|---|
1 | 1 |
<% for time_entry in time_entries%> |
2 | 2 |
<div id="time-entry-<%= time_entry.id %>" class="time_entry journal"> |
3 |
<div class="note"> |
|
3 | 4 |
<% if time_entry.editable_by?(User.current) -%> |
4 | 5 |
<div class="contextual"> |
6 |
<span class="journal-actions"> |
|
5 | 7 |
<%= link_to l(:button_edit), edit_time_entry_path(time_entry), |
6 | 8 |
:title => l(:button_edit), |
7 | 9 |
:class => 'icon-only icon-edit' %> |
... | ... | |
10 | 12 |
:method => :delete, |
11 | 13 |
:title => l(:button_delete), |
12 | 14 |
:class => 'icon-only icon-del' %> |
15 |
</span> |
|
13 | 16 |
</div> |
14 | 17 |
<% end -%> |
15 |
<h4> |
|
18 |
<h4 class='note-header'>
|
|
16 | 19 |
<%= avatar(time_entry.user, :size => "24") %> |
17 | 20 |
<%= authoring time_entry.created_on, time_entry.user, :label => :label_added_time_by %> |
18 | 21 |
</h4> |
... | ... | |
23 | 26 |
</li> |
24 | 27 |
</ul> |
25 | 28 |
<p><%= time_entry.comments %></p> |
29 |
</div> |
|
26 | 30 |
</div> |
27 | 31 |
<%= call_hook(:view_issues_history_time_entry_bottom, { :time_entry => time_entry }) %> |
28 | 32 |
<% end %> |