2007-03-12 20:59:02 +03:00
|
|
|
<div class="contextual">
|
2007-12-01 20:15:42 +03:00
|
|
|
«
|
|
|
|
<% 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 do %>
|
|
|
|
<%= text_field_tag 'rev', @rev, :size => 5 %>
|
|
|
|
<%= submit_tag 'OK' %>
|
|
|
|
<% end %>
|
2007-03-12 20:59:02 +03:00
|
|
|
</div>
|
|
|
|
|
2007-03-25 16:12:15 +04:00
|
|
|
<h2><%= l(:label_revision) %> <%= @changeset.revision %></h2>
|
2007-03-12 20:59:02 +03:00
|
|
|
|
2007-06-13 00:12:05 +04:00
|
|
|
<p><% if @changeset.scmid %>ID: <%= @changeset.scmid %><br /><% end %>
|
|
|
|
<em><%= @changeset.committer %>, <%= format_time(@changeset.committed_on) %></em></p>
|
|
|
|
|
2007-04-25 19:06:20 +04:00
|
|
|
<%= textilizable @changeset.comments %>
|
2007-03-12 20:59:02 +03:00
|
|
|
|
2007-04-24 17:57:27 +04:00
|
|
|
<% if @changeset.issues.any? %>
|
|
|
|
<h3><%= l(:label_related_issues) %></h3>
|
|
|
|
<ul>
|
|
|
|
<% @changeset.issues.each do |issue| %>
|
|
|
|
<li><%= link_to_issue issue %>: <%=h issue.subject %></li>
|
|
|
|
<% end %>
|
|
|
|
</ul>
|
|
|
|
<% end %>
|
|
|
|
|
2007-04-26 22:46:55 +04:00
|
|
|
<h3><%= l(:label_attachment_plural) %></h3>
|
2007-03-12 20:59:02 +03:00
|
|
|
<div style="float:right;">
|
|
|
|
<div class="square action_A"></div> <div style="float:left;"><%= l(:label_added) %> </div>
|
|
|
|
<div class="square action_M"></div> <div style="float:left;"><%= l(:label_modified) %> </div>
|
|
|
|
<div class="square action_D"></div> <div style="float:left;"><%= l(:label_deleted) %> </div>
|
|
|
|
</div>
|
2007-04-26 22:46:55 +04:00
|
|
|
<p><%= link_to(l(:label_view_diff), :action => 'diff', :id => @project, :path => "", :rev => @changeset.revision) if @changeset.changes.any? %></p>
|
2007-03-12 20:59:02 +03:00
|
|
|
<table class="list">
|
|
|
|
<tbody>
|
2007-05-16 01:32:36 +04:00
|
|
|
<% @changes.each do |change| %>
|
2007-03-12 20:59:02 +03:00
|
|
|
<tr class="<%= cycle 'odd', 'even' %>">
|
2007-06-13 00:12:05 +04:00
|
|
|
<td><div class="square action_<%= change.action %>"></div> <%= change.path %> <%= "(#{change.revision})" unless change.revision.blank? %></td>
|
2007-03-29 23:02:48 +04:00
|
|
|
<td align="right">
|
2007-03-25 16:12:15 +04:00
|
|
|
<% if change.action == "M" %>
|
2007-03-29 23:02:48 +04:00
|
|
|
<%= link_to l(:label_view_diff), :action => 'diff', :id => @project, :path => change.path, :rev => @changeset.revision %>
|
2007-03-12 20:59:02 +03:00
|
|
|
<% end %>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<% end %>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
2007-05-16 01:32:36 +04:00
|
|
|
<p><%= pagination_links_full @changes_pages, :rev => @changeset.revision %>
|
|
|
|
[ <%= @changes_pages.current.first_item %> - <%= @changes_pages.current.last_item %> / <%= @changes_count %> ]</p>
|
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
|
|
|
|
|
|
|
<% set_html_title("#{l(:label_revision)} #{@changeset.revision}") -%>
|