«
<% unless @changeset.previous.nil? -%>
<%= link_to_revision(@changeset.previous, @project, :text => l(:label_previous)) %>
<% else -%>
<%= l(:label_previous) %>
<% end -%>
|
<% unless @changeset.next.nil? -%>
<%= link_to_revision(@changeset.next, @project, :text => l(:label_next)) %>
<% else -%>
<%= l(:label_next) %>
<% end -%>
»
<% form_tag({:controller => 'repositories', :action => 'revision', :id => @project, :rev => nil}, :method => :get) do %>
<%= text_field_tag 'rev', @rev, :size => 8 %>
<%= submit_tag 'OK', :name => nil %>
<% end %>
<%= l(:label_revision) %> <%= format_revision(@changeset) %>
<% if @changeset.scmid %>ID: <%= h(@changeset.scmid) %>
<% end %>
<%= authoring(@changeset.committed_on, @changeset.author) %>
<%= textilizable @changeset.comments %>
<% if @changeset.issues.visible.any? %>
<%= l(:label_related_issues) %>
<% @changeset.issues.visible.each do |issue| %>
- <%= link_to_issue issue %>
<% end %>
<% end %>
<% if User.current.allowed_to?(:browse_repository, @project) %>
<%= l(:label_attachment_plural) %>
- <%= l(:label_added) %>
- <%= l(:label_modified) %>
- <%= l(:label_copied) %>
- <%= l(:label_renamed) %>
- <%= l(:label_deleted) %>
<%= link_to(l(:label_view_diff), :action => 'diff', :id => @project, :path => "", :rev => @changeset.identifier) if @changeset.changes.any? %>
<%= render_changeset_changes %>
<% end %>
<% content_for :header_tags do %>
<%= stylesheet_link_tag "scm" %>
<% end %>
<% html_title("#{l(:label_revision)} #{format_revision(@changeset)}") -%>