Mercurial > hg > soundsoftware-site
comparison app/views/repositories/.svn/text-base/revision.rhtml.svn-base @ 0:513646585e45
* Import Redmine trunk SVN rev 3859
author | Chris Cannam |
---|---|
date | Fri, 23 Jul 2010 15:52:44 +0100 |
parents | |
children | af80e5618e9b |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:513646585e45 |
---|---|
1 <div class="contextual"> | |
2 « | |
3 <% unless @changeset.previous.nil? -%> | |
4 <%= link_to_revision(@changeset.previous.revision, @project, :text => l(:label_previous)) %> | |
5 <% else -%> | |
6 <%= l(:label_previous) %> | |
7 <% end -%> | |
8 | | |
9 <% unless @changeset.next.nil? -%> | |
10 <%= link_to_revision(@changeset.next.revision, @project, :text => l(:label_next)) %> | |
11 <% else -%> | |
12 <%= l(:label_next) %> | |
13 <% end -%> | |
14 » | |
15 | |
16 <% form_tag({:controller => 'repositories', :action => 'revision', :id => @project, :rev => nil}, :method => :get) do %> | |
17 <%= text_field_tag 'rev', @rev[0,8], :size => 8 %> | |
18 <%= submit_tag 'OK', :name => nil %> | |
19 <% end %> | |
20 </div> | |
21 | |
22 <h2><%= l(:label_revision) %> <%= format_revision(@changeset.revision) %></h2> | |
23 | |
24 <p><% if @changeset.scmid %>ID: <%= @changeset.scmid %><br /><% end %> | |
25 <span class="author"><%= authoring(@changeset.committed_on, @changeset.author) %></span></p> | |
26 | |
27 <%= textilizable @changeset.comments %> | |
28 | |
29 <% if @changeset.issues.visible.any? %> | |
30 <h3><%= l(:label_related_issues) %></h3> | |
31 <ul> | |
32 <% @changeset.issues.visible.each do |issue| %> | |
33 <li><%= link_to_issue issue %></li> | |
34 <% end %> | |
35 </ul> | |
36 <% end %> | |
37 | |
38 <% if User.current.allowed_to?(:browse_repository, @project) %> | |
39 <h3><%= l(:label_attachment_plural) %></h3> | |
40 <ul id="changes-legend"> | |
41 <li class="change change-A"><%= l(:label_added) %></li> | |
42 <li class="change change-M"><%= l(:label_modified) %></li> | |
43 <li class="change change-C"><%= l(:label_copied) %></li> | |
44 <li class="change change-R"><%= l(:label_renamed) %></li> | |
45 <li class="change change-D"><%= l(:label_deleted) %></li> | |
46 </ul> | |
47 | |
48 <p><%= link_to(l(:label_view_diff), :action => 'diff', :id => @project, :path => "", :rev => @changeset.revision) if @changeset.changes.any? %></p> | |
49 | |
50 <div class="changeset-changes"> | |
51 <%= render_changeset_changes %> | |
52 </div> | |
53 <% end %> | |
54 | |
55 <% content_for :header_tags do %> | |
56 <%= stylesheet_link_tag "scm" %> | |
57 <% end %> | |
58 | |
59 <% html_title("#{l(:label_revision)} #{@changeset.revision}") -%> |