| |   |
| 2 | 2 | <% @commits.each do |commit| -%> |
| 3 | 3 | <li class="commit_item"> |
| 4 | 4 | <a href=""><%= link_to h(commit.id_abbrev), project_repository_commit_path(@project, @repository, commit.id) -%></a> |
| 5 | | by <strong><%=h commit.committer.name -%></strong> <%= format_datetime_ddmmyyhhmm(commit.committed_date) %> <small>(<%=h time_ago_in_words(commit.committed_date) -%> ago)</small> |
| 5 | by <strong><%=h commit.committer.name -%></strong> <span class='small_grey'><%= format_datetime_ddmmyyhhmm(commit.committed_date) %> (<%=h time_ago_in_words(commit.committed_date) -%> ago)</span> |
| 6 | 6 | <div class="commit_message"><%= simple_format(h(commit.message)) -%></div> |
| 7 | 7 | </li> |
| 8 | 8 | <% end -%> |
| toggle raw diff |
--- a/app/views/logs/_ac_log.html.erb
+++ b/app/views/logs/_ac_log.html.erb
@@ -2,7 +2,7 @@
<% @commits.each do |commit| -%>
<li class="commit_item">
<a href=""><%= link_to h(commit.id_abbrev), project_repository_commit_path(@project, @repository, commit.id) -%></a>
- by <strong><%=h commit.committer.name -%></strong> <%= format_datetime_ddmmyyhhmm(commit.committed_date) %> <small>(<%=h time_ago_in_words(commit.committed_date) -%> ago)</small>
+ by <strong><%=h commit.committer.name -%></strong> <span class='small_grey'><%= format_datetime_ddmmyyhhmm(commit.committed_date) %> (<%=h time_ago_in_words(commit.committed_date) -%> ago)</span>
<div class="commit_message"><%= simple_format(h(commit.message)) -%></div>
</li>
<% end -%> |
| |   |
| 7 | 7 | <p><%= @project.summary %> <%= link_to "[more]", project_wiki_path(@project.slug, @project.wiki_slug), :class => "small" %></p> |
| 8 | 8 | |
| 9 | 9 | <% unless @critical_tickets.empty? %> |
| 10 | | <br /> |
| 11 | | <h3>Critical Tickets</h3> |
| 10 | <h4>Critical Tickets</h4> |
| 11 | <hr /> |
| 12 | 12 | <ul> |
| 13 | 13 | <% for ticket in @critical_tickets %> |
| 14 | 14 | <li><span class='red'><%= ticket.summary %></span> <span class='small_grey'>(<%= time_ago_in_words(ticket.created_at) %> ago)</span></li> |
| … | … | |
| 18 | 18 | <% end %> |
| 19 | 19 | |
| 20 | 20 | <% unless @commits.empty? %> |
| 21 | | <br /> |
| 22 | | <h3>Last Commits</h3> |
| 21 | <h4>Last Commits</h4> |
| 22 | <hr /> |
| 23 | 23 | <%= render :partial => "logs/ac_log" -%> |
| 24 | 24 | <%= link_to "[more]", project_repository_path(@project, @repository), :class => "small" %><br /> |
| 25 | 25 | <% end %> |
| 26 | 26 | |
| 27 | 27 | <% unless @messages.empty? %> |
| 28 | | <br /> |
| 29 | | <h3>Recent Messages</h3> |
| 28 | <h4>Recent Messages</h4> |
| 29 | <hr /> |
| 30 | 30 | <%= render :partial => "members/ac_list_messages", :locals => { :show_name => true } %> |
| 31 | 31 | <%= link_to "[more]", project_members_path(@project), :class => "small" %><br /> |
| 32 | 32 | <% end %> |
| toggle raw diff |
--- a/app/views/projects/ac_show.html.erb
+++ b/app/views/projects/ac_show.html.erb
@@ -7,8 +7,8 @@
<p><%= @project.summary %> <%= link_to "[more]", project_wiki_path(@project.slug, @project.wiki_slug), :class => "small" %></p>
<% unless @critical_tickets.empty? %>
-<br />
-<h3>Critical Tickets</h3>
+<h4>Critical Tickets</h4>
+<hr />
<ul>
<% for ticket in @critical_tickets %>
<li><span class='red'><%= ticket.summary %></span> <span class='small_grey'>(<%= time_ago_in_words(ticket.created_at) %> ago)</span></li>
@@ -18,15 +18,15 @@
<% end %>
<% unless @commits.empty? %>
-<br />
-<h3>Last Commits</h3>
+<h4>Last Commits</h4>
+<hr />
<%= render :partial => "logs/ac_log" -%>
<%= link_to "[more]", project_repository_path(@project, @repository), :class => "small" %><br />
<% end %>
<% unless @messages.empty? %>
-<br />
-<h3>Recent Messages</h3>
+<h4>Recent Messages</h4>
+<hr />
<%= render :partial => "members/ac_list_messages", :locals => { :show_name => true } %>
<%= link_to "[more]", project_members_path(@project), :class => "small" %><br />
<% end %> |