show.rhtml
38 lines
| 1.4 KiB
| text/html+ruby
|
RhtmlLexer
|
r1946 | <%= call_hook(:view_repositories_show_contextual, { :repository => @repository, :project => @project }) %> | ||
|
r1540 | |||
|
r2735 | <div class="contextual"> | ||
<%= render :partial => 'navigation' %> | ||||
|
r377 | </div> | ||
|
r2735 | <h2><%= render :partial => 'breadcrumbs', :locals => { :path => @path, :kind => 'dir', :revision => @rev } %></h2> | ||
|
r103 | |||
|
r663 | <% if !@entries.nil? && authorize_for('repositories', 'browse') %> | ||
|
r147 | <%= render :partial => 'dir_list' %> | ||
|
r556 | <% end %> | ||
|
r147 | |||
|
r2738 | <%= render_properties(@properties) %> | ||
<% if @changesets && !@changesets.empty? && authorize_for('repositories', 'revisions') %> | ||||
|
r374 | <h3><%= l(:label_latest_revision_plural) %></h3> | ||
|
r2744 | <%= render :partial => 'revisions', :locals => {:project => @project, :path => @path, :revisions => @changesets, :entry => nil }%> | ||
<% if @path.blank? %> | ||||
<p><%= link_to l(:label_view_all_revisions), :action => 'revisions', :id => @project %></p> | ||||
<% else %> | ||||
<p><%= link_to l(:label_view_revisions), :action => 'changes', :path => to_path_param(@path), :id => @project %></p> | ||||
<% end %> | ||||
|
r663 | <% content_for :header_tags do %> | ||
<%= auto_discovery_link_tag(:atom, params.merge({:format => 'atom', :action => 'revisions', :id => @project, :page => nil, :key => User.current.rss_key})) %> | ||||
<% end %> | ||||
|
r2331 | |||
<% other_formats_links do |f| %> | ||||
<%= f.link_to 'Atom', :url => {:action => 'revisions', :id => @project, :key => User.current.rss_key} %> | ||||
<% end %> | ||||
|
r374 | <% end %> | ||
|
r147 | <% content_for :header_tags do %> | ||
<%= stylesheet_link_tag "scm" %> | ||||
|
r556 | <% end %> | ||
|
r951 | |||
|
r1019 | <% html_title(l(:label_repository)) -%> | ||