« <% unless @changeset.previous.nil? -%> <%= link_to l(:label_previous), :controller => 'repositories', :action => 'revision', :id => @project, :rev => @changeset.previous.revision %> <% else -%> <%= l(:label_previous) %> <% end -%> | <% unless @changeset.next.nil? -%> <%= link_to l(:label_next), :controller => 'repositories', :action => 'revision', :id => @project, :rev => @changeset.next.revision %> <% else -%> <%= l(:label_next) %> <% end -%> »  <% form_tag({:controller => 'repositories', :action => 'revision', :id => @project, :rev => nil}, :method => :get) do %> <%= text_field_tag 'rev', @rev, :size => 5 %> <%= submit_tag 'OK', :name => nil %> <% end %>

<%= l(:label_revision) %> <%= format_revision(@changeset.revision) %>

<% if @changeset.scmid %>ID: <%= @changeset.scmid %>
<% end %> <%= @changeset.committer.to_s.split('<').first %>, <%= format_time(@changeset.committed_on) %>

<%= textilizable @changeset.comments %> <% if @changeset.issues.any? %>

<%= l(:label_related_issues) %>

<% end %>

<%= l(:label_attachment_plural) %>

<%= l(:label_added) %> 
<%= l(:label_modified) %> 
<%= l(:label_deleted) %> 

<%= link_to(l(:label_view_diff), :action => 'diff', :id => @project, :path => "", :rev => @changeset.revision) if @changeset.changes.any? %>

<% @changes.each do |change| %> <% end %>
<% if change.action == "D" -%> <%= change.path -%> <% else -%> <%= link_to change.path, :action => 'entry', :id => @project, :path => without_leading_slash(change.relative_path), :rev => @changeset.revision -%> <% end -%> <%= "(#{change.revision})" unless change.revision.blank? %>
<% if change.action == "M" %> <%= link_to l(:label_view_diff), :action => 'diff', :id => @project, :path => without_leading_slash(change.relative_path), :rev => @changeset.revision %> <% end %>

<%= pagination_links_full @changes_pages %>

<% content_for :header_tags do %> <%= stylesheet_link_tag "scm" %> <% end %> <% html_title("#{l(:label_revision)} #{@changeset.revision}") -%>