To check out this repository please hg clone the following URL, or open the URL using EasyMercurial or your preferred Mercurial client.

Statistics Download as Zip
| Branch: | Tag: | Revision:

root / .svn / pristine / 05 / 05d53773172688f95b7f90e6ffa69f1cbdf7504b.svn-base @ 1297:0a574315af3e

History | View | Annotate | Download (2.69 KB)

1
<div class="contextual">
2
  &#171;
3
  <% unless @changeset.previous.nil? -%>
4
    <%= link_to_revision(@changeset.previous, @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, @project, :text => l(:label_next)) %>
11
  <% else -%>
12
    <%= l(:label_next) %>
13
  <% end -%>
14
  &#187;&nbsp;
15

    
16
  <% form_tag({:controller => 'repositories',
17
               :action     => 'revision',
18
               :id         => @project,
19
               :rev        => nil},
20
               :method     => :get) do %>
21
    <%= text_field_tag 'rev', @rev, :size => 8 %>
22
    <%= submit_tag 'OK', :name => nil %>
23
  <% end %>
24
</div>
25

    
26
<h2><%= l(:label_revision) %> <%= format_revision(@changeset) %></h2>
27

    
28
<table class="revision-info">
29
  <% if @changeset.scmid %>
30
    <tr>
31
      <td>ID</td><td><%= h(@changeset.scmid) %></td>
32
    </tr>
33
  <% end %>
34
  <% unless @changeset.parents.blank? %>
35
    <tr>
36
      <td><%= l(:label_parent_revision) %></td>
37
      <td>
38
        <%= @changeset.parents.collect{
39
              |p| link_to_revision(p, @project, :text => format_revision(p))
40
            }.join(", ") %>
41
      </td>
42
    </tr>
43
  <% end %>
44
  <% unless @changeset.children.blank? %>
45
    <tr>
46
      <td><%= l(:label_child_revision) %></td>
47
      <td>
48
       <%= @changeset.children.collect{
49
              |p| link_to_revision(p, @project, :text => format_revision(p))
50
             }.join(", ") %>
51
      </td>
52
    </tr>
53
  <% end %>
54
</table>
55
<p>
56
<span class="author">
57
<%= authoring(@changeset.committed_on, @changeset.author) %>
58
</span>
59
</p>
60

    
61
<%= textilizable @changeset.comments %>
62

    
63
<% if @changeset.issues.visible.any? %>
64
<h3><%= l(:label_related_issues) %></h3>
65
<ul>
66
<% @changeset.issues.visible.each do |issue| %>
67
  <li><%= link_to_issue issue %></li>
68
<% end %>
69
</ul>
70
<% end %>
71

    
72
<% if User.current.allowed_to?(:browse_repository, @project) %>
73
<h3><%= l(:label_attachment_plural) %></h3>
74
<ul id="changes-legend">
75
<li class="change change-A"><%= l(:label_added)    %></li>
76
<li class="change change-M"><%= l(:label_modified) %></li>
77
<li class="change change-C"><%= l(:label_copied)   %></li>
78
<li class="change change-R"><%= l(:label_renamed)  %></li>
79
<li class="change change-D"><%= l(:label_deleted)  %></li>
80
</ul>
81

    
82
<p><%= link_to(l(:label_view_diff),
83
               :action => 'diff',
84
               :id     => @project,
85
               :path   => "",
86
               :rev    => @changeset.identifier) if @changeset.changes.any? %></p>
87

    
88
<div class="changeset-changes">
89
<%= render_changeset_changes %>
90
</div>
91
<% end %>
92

    
93
<% content_for :header_tags do %>
94
<%= stylesheet_link_tag "scm" %>
95
<% end %>
96

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