Changesets can be listed by changeset number.
The Git repository is here.
- Revision:
- 109
- Log:
Miscellaneous bug fixes. Breadcrumb trail while browsing SVN.
Hub integration - see also Changeset #107 and Changeset #108.
- Author:
- adh
- Date:
- Mon Oct 23 18:22:45 +0100 2006
- Size:
- 1115 Bytes
1 | <% @page_title = 'Showing changeset ' + @changeset.revision.to_s %> |
2 | |
3 | <div id="content"> |
4 | <%= render :partial => 'breadcrumbs', :locals => { :trail => false } %> |
5 | <div class="breadcrumbs"> |
6 | <ul> |
7 | <li><%= link_to 'Changesets', :action => 'changesets' -%></li> |
8 | <li>» Changeset <%= @changeset.revision -%></li> |
9 | </ul> |
10 | </div> |
11 | |
12 | <h1>Changeset <%= @changeset.revision -%></h1> |
13 | <div class="log"><%= format_and_make_links(h(@changeset.log)) -%></div> |
14 | <ul class="changes"> |
15 | <li><strong>Comitted by:</strong> <%= @changeset.author -%></li> |
16 | <li><strong>Date:</strong> <%= @changeset.revised_at.strftime('%A %B %d %H:%M:%S %Y') -%> |
17 | (<%= distance_of_time_in_words(@changeset.revised_at, Time.now) %> ago)</li> |
18 | </ul> |
19 | |
20 | <% if current_user.view_code? %> |
21 | <h2>Affected files:</h2> |
22 | <ul class="changes"> |
23 | <%= render_collection_of_partials 'change', @changeset.changes %> |
24 | </ul> |
25 | |
26 | <% @files_to_diff.each_with_index do |diff, idx| %> |
27 | <a name="<%= diff.path.gsub("\/", '_') -%>"></a> |
28 | <h3><%= diff.path %>:</h3> |
29 | <%= render_diff(diff.unified_diff) %> |
30 | <% end %> |
31 | <% end %> |
32 | |
33 | </div> |