2007-03-12 20:59:02 +03:00
|
|
|
<div class="contextual">
|
2007-12-01 20:15:42 +03:00
|
|
|
«
|
|
|
|
<% unless @changeset.previous.nil? -%>
|
2011-01-02 12:45:05 +03:00
|
|
|
<%= link_to_revision(@changeset.previous, @project, :text => l(:label_previous)) %>
|
2007-12-01 20:15:42 +03:00
|
|
|
<% else -%>
|
|
|
|
<%= l(:label_previous) %>
|
|
|
|
<% end -%>
|
|
|
|
|
|
|
|
|
<% unless @changeset.next.nil? -%>
|
2011-01-02 12:45:05 +03:00
|
|
|
<%= link_to_revision(@changeset.next, @project, :text => l(:label_next)) %>
|
2007-12-01 20:15:42 +03:00
|
|
|
<% else -%>
|
|
|
|
<%= l(:label_next) %>
|
|
|
|
<% end -%>
|
|
|
|
»
|
2009-02-21 15:58:18 +03:00
|
|
|
|
2008-07-01 01:52:29 +04:00
|
|
|
<% form_tag({:controller => 'repositories', :action => 'revision', :id => @project, :rev => nil}, :method => :get) do %>
|
2011-01-02 12:45:05 +03:00
|
|
|
<%= text_field_tag 'rev', @rev, :size => 8 %>
|
2008-07-01 01:52:29 +04:00
|
|
|
<%= submit_tag 'OK', :name => nil %>
|
2007-12-01 20:15:42 +03:00
|
|
|
<% end %>
|
2007-03-12 20:59:02 +03:00
|
|
|
</div>
|
|
|
|
|
2011-01-02 12:45:05 +03:00
|
|
|
<h2><%= l(:label_revision) %> <%= format_revision(@changeset) %></h2>
|
2007-03-12 20:59:02 +03:00
|
|
|
|
2011-07-30 23:51:06 +04:00
|
|
|
<p><% if @changeset.scmid %>ID: <%= h(@changeset.scmid) %><br /><% end %>
|
2008-11-10 21:59:06 +03:00
|
|
|
<span class="author"><%= authoring(@changeset.committed_on, @changeset.author) %></span></p>
|
2007-06-13 00:12:05 +04:00
|
|
|
|
2007-04-25 19:06:20 +04:00
|
|
|
<%= textilizable @changeset.comments %>
|
2007-03-12 20:59:02 +03:00
|
|
|
|
2009-11-14 15:08:47 +03:00
|
|
|
<% if @changeset.issues.visible.any? %>
|
2007-04-24 17:57:27 +04:00
|
|
|
<h3><%= l(:label_related_issues) %></h3>
|
|
|
|
<ul>
|
2009-11-14 15:08:47 +03:00
|
|
|
<% @changeset.issues.visible.each do |issue| %>
|
2009-11-14 15:53:50 +03:00
|
|
|
<li><%= link_to_issue issue %></li>
|
2007-04-24 17:57:27 +04:00
|
|
|
<% end %>
|
|
|
|
</ul>
|
|
|
|
<% end %>
|
|
|
|
|
2009-02-21 15:58:18 +03:00
|
|
|
<% if User.current.allowed_to?(:browse_repository, @project) %>
|
2007-04-26 22:46:55 +04:00
|
|
|
<h3><%= l(:label_attachment_plural) %></h3>
|
2008-09-17 20:39:23 +04:00
|
|
|
<ul id="changes-legend">
|
|
|
|
<li class="change change-A"><%= l(:label_added) %></li>
|
|
|
|
<li class="change change-M"><%= l(:label_modified) %></li>
|
|
|
|
<li class="change change-C"><%= l(:label_copied) %></li>
|
|
|
|
<li class="change change-R"><%= l(:label_renamed) %></li>
|
|
|
|
<li class="change change-D"><%= l(:label_deleted) %></li>
|
|
|
|
</ul>
|
|
|
|
|
2011-01-02 12:45:05 +03:00
|
|
|
<p><%= link_to(l(:label_view_diff), :action => 'diff', :id => @project, :path => "", :rev => @changeset.identifier) if @changeset.changes.any? %></p>
|
2008-09-17 20:39:23 +04:00
|
|
|
|
|
|
|
<div class="changeset-changes">
|
|
|
|
<%= render_changeset_changes %>
|
|
|
|
</div>
|
2009-02-21 15:58:18 +03:00
|
|
|
<% end %>
|
2007-03-12 20:59:02 +03:00
|
|
|
|
|
|
|
<% content_for :header_tags do %>
|
|
|
|
<%= stylesheet_link_tag "scm" %>
|
2007-05-16 01:32:36 +04:00
|
|
|
<% end %>
|
2007-12-07 21:42:40 +03:00
|
|
|
|
2011-01-02 12:45:05 +03:00
|
|
|
<% html_title("#{l(:label_revision)} #{format_revision(@changeset)}") -%>
|