38 lines
1.2 KiB
Plaintext
38 lines
1.2 KiB
Plaintext
<div class="contextual">
|
|
<% form_tag do %>
|
|
<p><%= l(:label_revision) %>: <%= text_field_tag 'rev', @rev, :size => 5 %>
|
|
<%= submit_tag 'OK' %></p>
|
|
<% end %>
|
|
</div>
|
|
|
|
<h2><%= l(:label_revision) %> <%= @changeset.revision %></h2>
|
|
|
|
<p><em><%= @changeset.committer %>, <%= format_time(@changeset.committed_on) %></em></p>
|
|
<%= textilizable @changeset.comment %>
|
|
|
|
<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>
|
|
<% @changeset.changes.each do |change| %>
|
|
<tr class="<%= cycle 'odd', 'even' %>">
|
|
<td><div class="square action_<%= change.action %>"></div> <%= change.path %></td>
|
|
<td>
|
|
<% if change.action == "M" %>
|
|
<%= link_to 'View diff', :action => 'diff', :id => @project, :path => change.path, :rev => @changeset.revision %>
|
|
<% end %>
|
|
</td>
|
|
</tr>
|
|
<% end %>
|
|
</tbody>
|
|
</table>
|
|
<p><%= lwr(:label_modification, @changeset.changes.length) %></p>
|
|
|
|
<% content_for :header_tags do %>
|
|
<%= stylesheet_link_tag "scm" %>
|
|
<% end %> |