@@ -1,24 +1,24 | |||
|
1 | 1 | <div class="contextual"> |
|
2 | 2 | <% form_tag do %> |
|
3 | 3 | <p><%= l(:label_revision) %>: <%= text_field_tag 'rev', @rev, :size => 5 %> |
|
4 | 4 | <%= submit_tag 'OK' %></p> |
|
5 | 5 | <% end %> |
|
6 | 6 | </div> |
|
7 | 7 | |
|
8 | 8 | <h2><%= render :partial => 'navigation', :locals => { :path => @path, :kind => (@entry ? @entry.kind : nil), :revision => @rev } %></h2> |
|
9 | 9 | |
|
10 | 10 | <% if @entry && @entry.is_file? %> |
|
11 | 11 | <h3><%=h @entry.name %></h3> |
|
12 | 12 | <p><%= link_to 'Download', {:action => 'entry', :id => @project, :path => @path, :rev => @rev, :format => 'raw' }, :class => "icon file" %> (<%= number_to_human_size @entry.size %>)</p> |
|
13 | 13 | <% end %> |
|
14 | 14 | |
|
15 | <h3>Revisions</h3> | |
|
15 | <h3><%= l(:label_revision_plural) %></h3> | |
|
16 | 16 | |
|
17 | 17 | <%= render :partial => 'revisions', :locals => {:project => @project, :path => @path, :changesets => @changesets, :entry => @entry }%> |
|
18 | 18 | |
|
19 | 19 | <p><%= pagination_links_full @changeset_pages %> |
|
20 | 20 | [ <%= @changeset_pages.current.first_item %> - <%= @changeset_pages.current.last_item %> / <%= @changeset_count %> ]</p> |
|
21 | 21 | |
|
22 | 22 | <% content_for :header_tags do %> |
|
23 | 23 | <%= stylesheet_link_tag "scm" %> |
|
24 | 24 | <% end %> No newline at end of file |
General Comments 0
You need to be logged in to leave comments.
Login now