Patch #23146 » show_commit_messages_like_journal_entries.patch
| app/views/repositories/_changeset.html.erb | ||
|---|---|---|
|
<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 %>
|
||
| public/stylesheets/application.css | ||
|---|---|---|
|
.journal ul.details img {margin:0 0 -3px 4px;}
|
||
|
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; }
|
||
- « Previous
- 1
- 2
- 3
- 4
- Next »