«
<% 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[0,8], :size => 8 %>
<%= submit_tag 'OK', :name => nil %>
<% end %>
<%= l(:label_revision) %> <%= format_revision(@changeset.revision) %>
<% if @changeset.scmid %>ID: <%= @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.revision) if @changeset.changes.any? %>
<%= render_changeset_changes %>
<% end %>
<% content_for :header_tags do %>
<%= stylesheet_link_tag "scm" %>
<% end %>
<% html_title("#{l(:label_revision)} #{@changeset.revision}") -%>