@@ -1,41 +1,36 | |||||
1 |
<h2><%= |
|
1 | <h2><%= l(:label_revision) %> <%= format_revision(@changeset) %></h2> | |
2 |
|
2 | |||
3 | <div class="details"> |
|
3 | <div class="details"> | |
|
4 | <h4> | |||
|
5 | <%= avatar(@changeset.user, :size => "24") %> | |||
|
6 | <%= authoring(@changeset.committed_on, @changeset.author) %> | |||
|
7 | </h4> | |||
4 | <% if @changeset.scmid.present? || @changeset.parents.present? || @changeset.children.present? %> |
|
8 | <% if @changeset.scmid.present? || @changeset.parents.present? || @changeset.children.present? %> | |
5 |
< |
|
9 | <ul class="revision-info"> | |
6 | <% if @changeset.scmid.present? %> |
|
10 | <% if @changeset.scmid.present? %> | |
7 |
< |
|
11 | <li> | |
8 |
< |
|
12 | <strong>ID </strong><%= @changeset.scmid %> | |
9 |
</ |
|
13 | </li> | |
10 | <% end %> |
|
14 | <% end %> | |
11 | <% if @changeset.parents.present? %> |
|
15 | <% if @changeset.parents.present? %> | |
12 |
< |
|
16 | <li> | |
13 |
< |
|
17 | <strong><%= l(:label_parent_revision) %></strong> | |
14 | <td> |
|
|||
15 | <%= @changeset.parents.collect{ |
|
18 | <%= @changeset.parents.collect{ | |
16 | |p| link_to_revision(p, @repository, :text => format_revision(p)) |
|
19 | |p| link_to_revision(p, @repository, :text => format_revision(p)) | |
17 | }.join(", ").html_safe %> |
|
20 | }.join(", ").html_safe %> | |
18 |
|
|
21 | </li> | |
19 | </tr> |
|
|||
20 | <% end %> |
|
22 | <% end %> | |
21 | <% if @changeset.children.present? %> |
|
23 | <% if @changeset.children.present? %> | |
22 |
< |
|
24 | <li> | |
23 |
< |
|
25 | <strong><%= l(:label_child_revision) %></strong> | |
24 | <td> |
|
|||
25 | <%= @changeset.children.collect{ |
|
26 | <%= @changeset.children.collect{ | |
26 | |p| link_to_revision(p, @repository, :text => format_revision(p)) |
|
27 | |p| link_to_revision(p, @repository, :text => format_revision(p)) | |
27 | }.join(", ").html_safe %> |
|
28 | }.join(", ").html_safe %> | |
28 |
|
|
29 | </li> | |
29 | </tr> |
|
|||
30 | <% end %> |
|
30 | <% end %> | |
31 |
</ |
|
31 | </ul> | |
32 | <% end %> |
|
32 | <% end %> | |
33 |
|
33 | |||
34 | <p> |
|
|||
35 | <span class="author"> |
|
|||
36 | <%= authoring(@changeset.committed_on, @changeset.author) %> |
|
|||
37 | </span> |
|
|||
38 | </p> |
|
|||
39 | </div> |
|
34 | </div> | |
40 |
|
35 | |||
41 | <%= textilizable @changeset.comments %> |
|
36 | <%= textilizable @changeset.comments %> |
@@ -433,9 +433,9 div#issue-changesets p { margin-top: 0; margin-bottom: 1em;} | |||||
433 |
|
433 | |||
434 | div.journal {overflow:auto;} |
|
434 | div.journal {overflow:auto;} | |
435 | div.journal.private-notes {border-left:2px solid #d22; padding-left:4px; margin-left:-6px;} |
|
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;} |
|
436 | div.journal ul.details, ul.revision-info {color:#959595; margin-bottom: 1.5em;} | |
437 | div.journal ul.details a {color:#70A7CD;} |
|
437 | div.journal ul.details a, ul.revision-info a {color:#70A7CD;} | |
438 | div.journal ul.details a:hover {color:#D14848;} |
|
438 | div.journal ul.details a:hover, ul.revision-info a:hover {color:#D14848;} | |
439 |
|
439 | |||
440 | div#activity dl, #search-results { margin-left: 2em; } |
|
440 | div#activity dl, #search-results { margin-left: 2em; } | |
441 | div#activity dd, #search-results dd { margin-bottom: 1em; padding-left: 18px; font-size: 0.9em; } |
|
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