<%#-- copyright OpenProject is a project management system. Copyright (C) 2012-2013 the OpenProject Team This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 3. See doc/COPYRIGHT.rdoc for more details. ++#%>
« <% 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) %>

<% end %> <% if User.current.allowed_to?(:browse_repository, @project) %>

<%= l(:label_attachment_plural) %>

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

<%= render_changeset_changes %>
<% end %> <% html_title("#{l(:label_revision)} #{format_revision(@changeset)}") -%>