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