2007-03-12 20:59:02 +03: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 16:12:15 +04:00
|
|
|
<h2><%= l(:label_revision) %> <%= @changeset.revision %></h2>
|
2007-03-12 20:59:02 +03:00
|
|
|
|
2007-03-25 16:12:15 +04:00
|
|
|
<p><em><%= @changeset.committer %>, <%= format_time(@changeset.committed_on) %></em></p>
|
|
|
|
<%= textilizable @changeset.comment %>
|
2007-03-12 20:59:02 +03: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 16:12:15 +04:00
|
|
|
<% @changeset.changes.each do |change| %>
|
2007-03-12 20:59:02 +03:00
|
|
|
<tr class="<%= cycle 'odd', 'even' %>">
|
2007-03-25 16:12:15 +04:00
|
|
|
<td><div class="square action_<%= change.action %>"></div> <%= change.path %></td>
|
2007-03-29 23:02:48 +04:00
|
|
|
<td align="right">
|
2007-03-25 16:12:15 +04:00
|
|
|
<% if change.action == "M" %>
|
2007-03-29 23:02:48 +04:00
|
|
|
<%= link_to l(:label_view_diff), :action => 'diff', :id => @project, :path => change.path, :rev => @changeset.revision %>
|
2007-03-12 20:59:02 +03:00
|
|
|
<% end %>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<% end %>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
2007-03-25 16:12:15 +04:00
|
|
|
<p><%= lwr(:label_modification, @changeset.changes.length) %></p>
|
2007-03-12 20:59:02 +03:00
|
|
|
|
|
|
|
<% content_for :header_tags do %>
|
|
|
|
<%= stylesheet_link_tag "scm" %>
|
2007-01-05 22:10:57 +03:00
|
|
|
<% end %>
|