##// END OF EJS Templates
Show revision details using the same structure and look from the journals details (#23146)....
Jean-Philippe Lang -
r15379:942b85e44176
parent child
Show More
@@ -1,41 +1,36
1 <h2><%= avatar(@changeset.user, :size => "24") %><%= l(:label_revision) %> <%= format_revision(@changeset) %></h2>
1 <h2><%= l(:label_revision) %> <%= format_revision(@changeset) %></h2>
2 2
3 3 <div class="details">
4 <h4>
5 <%= avatar(@changeset.user, :size => "24") %>
6 <%= authoring(@changeset.committed_on, @changeset.author) %>
7 </h4>
4 8 <% if @changeset.scmid.present? || @changeset.parents.present? || @changeset.children.present? %>
5 <table class="revision-info">
9 <ul class="revision-info">
6 10 <% if @changeset.scmid.present? %>
7 <tr>
8 <td>ID</td><td><%= @changeset.scmid %></td>
9 </tr>
11 <li>
12 <strong>ID </strong><%= @changeset.scmid %>
13 </li>
10 14 <% end %>
11 15 <% if @changeset.parents.present? %>
12 <tr>
13 <td><%= l(:label_parent_revision) %></td>
14 <td>
16 <li>
17 <strong><%= l(:label_parent_revision) %></strong>
15 18 <%= @changeset.parents.collect{
16 19 |p| link_to_revision(p, @repository, :text => format_revision(p))
17 20 }.join(", ").html_safe %>
18 </td>
19 </tr>
21 </li>
20 22 <% end %>
21 23 <% if @changeset.children.present? %>
22 <tr>
23 <td><%= l(:label_child_revision) %></td>
24 <td>
24 <li>
25 <strong><%= l(:label_child_revision) %></strong>
25 26 <%= @changeset.children.collect{
26 27 |p| link_to_revision(p, @repository, :text => format_revision(p))
27 28 }.join(", ").html_safe %>
28 </td>
29 </tr>
29 </li>
30 30 <% end %>
31 </table>
31 </ul>
32 32 <% end %>
33 33
34 <p>
35 <span class="author">
36 <%= authoring(@changeset.committed_on, @changeset.author) %>
37 </span>
38 </p>
39 34 </div>
40 35
41 36 <%= textilizable @changeset.comments %>
@@ -433,9 +433,9 div#issue-changesets p { margin-top: 0; margin-bottom: 1em;}
433 433
434 434 div.journal {overflow:auto;}
435 435 div.journal.private-notes {border-left:2px solid #d22; padding-left:4px; margin-left:-6px;}
436 div.journal ul.details {color:#959595; margin-bottom: 1.5em;}
437 div.journal ul.details a {color:#70A7CD;}
438 div.journal ul.details a:hover {color:#D14848;}
436 div.journal ul.details, ul.revision-info {color:#959595; margin-bottom: 1.5em;}
437 div.journal ul.details a, ul.revision-info a {color:#70A7CD;}
438 div.journal ul.details a:hover, ul.revision-info a:hover {color:#D14848;}
439 439
440 440 div#activity dl, #search-results { margin-left: 2em; }
441 441 div#activity dd, #search-results dd { margin-bottom: 1em; padding-left: 18px; font-size: 0.9em; }
General Comments 0
You need to be logged in to leave comments. Login now