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