@@ -1,19 +1,24 | |||
|
1 | 1 | <div class="contextual"> |
|
2 | 2 | <% form_tag({:action => 'revision', :id => @project}) do %> |
|
3 | 3 | <%= l(:label_revision) %>: <%= text_field_tag 'rev', @rev, :size => 5 %> |
|
4 | 4 | <%= submit_tag 'OK' %> |
|
5 | 5 | <% end %> |
|
6 | 6 | </div> |
|
7 | 7 | |
|
8 | 8 | <h2><%= l(:label_revision_plural) %></h2> |
|
9 | 9 | |
|
10 | 10 | <%= render :partial => 'revisions', :locals => {:project => @project, :path => '', :revisions => @changesets, :entry => nil }%> |
|
11 | 11 | |
|
12 | 12 | <p class="pagination"><%= pagination_links_full @changeset_pages,@changeset_count %></p> |
|
13 | 13 | |
|
14 | 14 | <% content_for :header_tags do %> |
|
15 | 15 | <%= stylesheet_link_tag "scm" %> |
|
16 | 16 | <%= auto_discovery_link_tag(:atom, params.merge({:format => 'atom', :page => nil, :key => User.current.rss_key})) %> |
|
17 | 17 | <% end %> |
|
18 | 18 | |
|
19 | <p class="other-formats"> | |
|
20 | <%= l(:label_export_to) %> | |
|
21 | <span><%= link_to 'Atom', {:format => 'atom', :key => User.current.rss_key}, :class => 'feed' %></span> | |
|
22 | </p> | |
|
23 | ||
|
19 | 24 | <% html_title(l(:label_revision_plural)) -%> |
@@ -1,30 +1,34 | |||
|
1 | 1 | <div class="contextual"> |
|
2 | 2 | <%= link_to l(:label_statistics), {:action => 'stats', :id => @project}, :class => 'icon icon-stats' %> |
|
3 | 3 | |
|
4 | 4 | <% if !@entries.nil? && authorize_for('repositories', 'browse') -%> |
|
5 | 5 | <% form_tag(:action => 'browse', :id => @project) do -%> |
|
6 | 6 | | <%= l(:label_revision) %>: <%= text_field_tag 'rev', @rev, :size => 5 %> |
|
7 | 7 | <% end -%> |
|
8 | 8 | <% end -%> |
|
9 | 9 | </div> |
|
10 | 10 | |
|
11 | 11 | <h2><%= l(:label_repository) %> (<%= @repository.scm_name %>)</h2> |
|
12 | 12 | |
|
13 | 13 | <% if !@entries.nil? && authorize_for('repositories', 'browse') %> |
|
14 | 14 | <%= render :partial => 'dir_list' %> |
|
15 | 15 | <% end %> |
|
16 | 16 | |
|
17 | 17 | <% if !@changesets.empty? && authorize_for('repositories', 'revisions') %> |
|
18 | 18 | <h3><%= l(:label_latest_revision_plural) %></h3> |
|
19 | 19 | <%= render :partial => 'revisions', :locals => {:project => @project, :path => '', :revisions => @changesets, :entry => nil }%> |
|
20 | 20 | <p><%= link_to l(:label_view_revisions), :action => 'revisions', :id => @project %></p> |
|
21 | 21 | <% content_for :header_tags do %> |
|
22 | 22 | <%= auto_discovery_link_tag(:atom, params.merge({:format => 'atom', :action => 'revisions', :id => @project, :page => nil, :key => User.current.rss_key})) %> |
|
23 | 23 | <% end %> |
|
24 | <p class="other-formats"> | |
|
25 | <%= l(:label_export_to) %> | |
|
26 | <span><%= link_to 'Atom', {:action => 'revisions', :id => @project, :format => 'atom', :key => User.current.rss_key}, :class => 'feed' %></span> | |
|
27 | </p> | |
|
24 | 28 | <% end %> |
|
25 | 29 | |
|
26 | 30 | <% content_for :header_tags do %> |
|
27 | 31 | <%= stylesheet_link_tag "scm" %> |
|
28 | 32 | <% end %> |
|
29 | 33 | |
|
30 | 34 | <% html_title(l(:label_repository)) -%> |
General Comments 0
You need to be logged in to leave comments.
Login now