Mercurial > hg > soundsoftware-site
comparison app/views/repositories/show.rhtml @ 0:513646585e45
* Import Redmine trunk SVN rev 3859
author | Chris Cannam |
---|---|
date | Fri, 23 Jul 2010 15:52:44 +0100 |
parents | |
children | cbce1fd3b1b7 |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:513646585e45 |
---|---|
1 <%= call_hook(:view_repositories_show_contextual, { :repository => @repository, :project => @project }) %> | |
2 | |
3 <div class="contextual"> | |
4 <%= render :partial => 'navigation' %> | |
5 </div> | |
6 | |
7 <h2><%= render :partial => 'breadcrumbs', :locals => { :path => @path, :kind => 'dir', :revision => @rev } %></h2> | |
8 | |
9 <% if !@entries.nil? && authorize_for('repositories', 'browse') %> | |
10 <%= render :partial => 'dir_list' %> | |
11 <% end %> | |
12 | |
13 <%= render_properties(@properties) %> | |
14 | |
15 <% if @changesets && !@changesets.empty? && authorize_for('repositories', 'revisions') %> | |
16 <h3><%= l(:label_latest_revision_plural) %></h3> | |
17 <%= render :partial => 'revisions', :locals => {:project => @project, :path => @path, :revisions => @changesets, :entry => nil }%> | |
18 | |
19 <% if @path.blank? %> | |
20 <p><%= link_to l(:label_view_all_revisions), :action => 'revisions', :id => @project %></p> | |
21 <% else %> | |
22 <p><%= link_to l(:label_view_revisions), :action => 'changes', :path => to_path_param(@path), :id => @project %></p> | |
23 <% end %> | |
24 | |
25 <% content_for :header_tags do %> | |
26 <%= auto_discovery_link_tag(:atom, params.merge({:format => 'atom', :action => 'revisions', :id => @project, :page => nil, :key => User.current.rss_key})) %> | |
27 <% end %> | |
28 | |
29 <% other_formats_links do |f| %> | |
30 <%= f.link_to 'Atom', :url => {:action => 'revisions', :id => @project, :key => User.current.rss_key} %> | |
31 <% end %> | |
32 <% end %> | |
33 | |
34 <% content_for :header_tags do %> | |
35 <%= stylesheet_link_tag "scm" %> | |
36 <% end %> | |
37 | |
38 <% html_title(l(:label_repository)) -%> |