summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--app/views/repositories/_changeset.html.erb37
-rw-r--r--public/stylesheets/application.css6
2 files changed, 19 insertions, 24 deletions
diff --git a/app/views/repositories/_changeset.html.erb b/app/views/repositories/_changeset.html.erb
index 3c2c1c09d..dbdf17160 100644
--- a/app/views/repositories/_changeset.html.erb
+++ b/app/views/repositories/_changeset.html.erb
@@ -1,41 +1,36 @@
-<h2><%= avatar(@changeset.user, :size => "24") %><%= l(:label_revision) %> <%= format_revision(@changeset) %></h2>
+<h2><%= l(:label_revision) %> <%= format_revision(@changeset) %></h2>
<div class="details">
+ <h4>
+ <%= avatar(@changeset.user, :size => "24") %>
+ <%= authoring(@changeset.committed_on, @changeset.author) %>
+ </h4>
<% if @changeset.scmid.present? || @changeset.parents.present? || @changeset.children.present? %>
- <table class="revision-info">
+ <ul class="revision-info">
<% if @changeset.scmid.present? %>
- <tr>
- <td>ID</td><td><%= @changeset.scmid %></td>
- </tr>
+ <li>
+ <strong>ID </strong><%= @changeset.scmid %>
+ </li>
<% end %>
<% if @changeset.parents.present? %>
- <tr>
- <td><%= l(:label_parent_revision) %></td>
- <td>
+ <li>
+ <strong><%= l(:label_parent_revision) %></strong>
<%= @changeset.parents.collect{
|p| link_to_revision(p, @repository, :text => format_revision(p))
}.join(", ").html_safe %>
- </td>
- </tr>
+ </li>
<% end %>
<% if @changeset.children.present? %>
- <tr>
- <td><%= l(:label_child_revision) %></td>
- <td>
+ <li>
+ <strong><%= l(:label_child_revision) %></strong>
<%= @changeset.children.collect{
|p| link_to_revision(p, @repository, :text => format_revision(p))
}.join(", ").html_safe %>
- </td>
- </tr>
+ </li>
<% end %>
- </table>
+ </ul>
<% end %>
- <p>
- <span class="author">
- <%= authoring(@changeset.committed_on, @changeset.author) %>
- </span>
- </p>
</div>
<%= textilizable @changeset.comments %>
diff --git a/public/stylesheets/application.css b/public/stylesheets/application.css
index bbc32992e..6786cb950 100644
--- a/public/stylesheets/application.css
+++ b/public/stylesheets/application.css
@@ -433,9 +433,9 @@ div#issue-changesets p { margin-top: 0; margin-bottom: 1em;}
div.journal {overflow:auto;}
div.journal.private-notes {border-left:2px solid #d22; padding-left:4px; margin-left:-6px;}
-div.journal ul.details {color:#959595; margin-bottom: 1.5em;}
-div.journal ul.details a {color:#70A7CD;}
-div.journal ul.details a:hover {color:#D14848;}
+div.journal ul.details, ul.revision-info {color:#959595; margin-bottom: 1.5em;}
+div.journal ul.details a, ul.revision-info a {color:#70A7CD;}
+div.journal ul.details a:hover, ul.revision-info a:hover {color:#D14848;}
div#activity dl, #search-results { margin-left: 2em; }
div#activity dd, #search-results dd { margin-bottom: 1em; padding-left: 18px; font-size: 0.9em; }