Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Releases: show the number of commits and changes for each release

  • Loading branch information...
commit 4f0e531fcfca1ca8fe98d72f4b314d6fe5c794cc 1 parent 30a3421
@boblail authored
Showing with 6 additions and 2 deletions.
  1. +6 −2 app/views/releases/index.html.erb
View
8 app/views/releases/index.html.erb
@@ -12,14 +12,18 @@
<thead>
<tr>
<th>Name</th>
- <th>Created at</th>
+ <th>Changes</th>
+ <th>Commits</th>
+ <th>Release Date</th>
</tr>
</thead>
<tbody>
<% @releases.each do |release| %>
<tr>
<td><%= link_to release.name, release %></td>
- <td><%= release.created_at %></td>
+ <td><%= release.changes.count %></td>
+ <td><%= release.commits.count %></td>
+ <td><%= format_release_date(release) %></td>
</tr>
<% end %>
</tbody>
Please sign in to comment.
Something went wrong with that request. Please try again.