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