2007-03-12 18:59:02 +01:00
|
|
|
<div class="contextual">
|
|
|
|
<% form_tag do %>
|
|
|
|
<p><%= l(:label_revision) %>: <%= text_field_tag 'rev', @rev, :size => 5 %>
|
|
|
|
<%= submit_tag 'OK' %></p>
|
|
|
|
<% end %>
|
|
|
|
</div>
|
|
|
|
|
2007-03-25 14:12:15 +02:00
|
|
|
<h2><%= l(:label_revision) %> <%= @changeset.revision %></h2>
|
2007-03-12 18:59:02 +01:00
|
|
|
|
2007-03-25 14:12:15 +02:00
|
|
|
<p><em><%= @changeset.committer %>, <%= format_time(@changeset.committed_on) %></em></p>
|
|
|
|
<%= textilizable @changeset.comment %>
|
2007-03-12 18:59:02 +01:00
|
|
|
|
|
|
|
<div style="float:right;">
|
|
|
|
<div class="square action_A"></div> <div style="float:left;"><%= l(:label_added) %> </div>
|
|
|
|
<div class="square action_M"></div> <div style="float:left;"><%= l(:label_modified) %> </div>
|
|
|
|
<div class="square action_D"></div> <div style="float:left;"><%= l(:label_deleted) %> </div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<h3><%= l(:label_attachment_plural) %></h3>
|
|
|
|
<table class="list">
|
|
|
|
<tbody>
|
2007-03-25 14:12:15 +02:00
|
|
|
<% @changeset.changes.each do |change| %>
|
2007-03-12 18:59:02 +01:00
|
|
|
<tr class="<%= cycle 'odd', 'even' %>">
|
2007-03-25 14:12:15 +02:00
|
|
|
<td><div class="square action_<%= change.action %>"></div> <%= change.path %></td>
|
2007-03-12 18:59:02 +01:00
|
|
|
<td>
|
2007-03-25 14:12:15 +02:00
|
|
|
<% if change.action == "M" %>
|
|
|
|
<%= link_to 'View diff', :action => 'diff', :id => @project, :path => change.path, :rev => @changeset.revision %>
|
2007-03-12 18:59:02 +01:00
|
|
|
<% end %>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<% end %>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
2007-03-25 14:12:15 +02:00
|
|
|
<p><%= lwr(:label_modification, @changeset.changes.length) %></p>
|
2007-03-12 18:59:02 +01:00
|
|
|
|
|
|
|
<% content_for :header_tags do %>
|
|
|
|
<%= stylesheet_link_tag "scm" %>
|
2007-01-05 20:10:57 +01:00
|
|
|
<% end %>
|