Chris@909: <%= call_hook(:view_repositories_show_contextual, { :repository => @repository, :project => @project }) %> Chris@909: Chris@909:
Chris@909: <% Chris@909: has_branches = (!@repository.branches.nil? && @repository.branches.length > 0) Chris@909: sep = '' Chris@909: %> Chris@909: <% if @repository.supports_all_revisions? && @path.blank? %> Chris@909: <%= link_to l(:label_view_all_revisions), :action => 'revisions', :id => @project %> Chris@909: <% sep = '|' %> Chris@909: <% end %> Chris@909: <% Chris@909: if @repository.supports_directory_revisions? && Chris@909: ( has_branches || !@path.blank? || !@rev.blank? ) Chris@909: %> Chris@909: <%= sep %> Chris@909: <%= Chris@909: link_to l(:label_view_revisions), Chris@909: :action => 'changes', Chris@909: :path => to_path_param(@path), Chris@909: :id => @project, Chris@909: :rev => @rev Chris@909: %> Chris@909: <% end %> Chris@909:
Chris@909: Chris@909: <% if true # @path.blank? %> Chris@909: <% content_for :header_tags do %> Chris@909: <%= auto_discovery_link_tag( Chris@909: :atom, params.merge( Chris@909: {:format => 'atom', :action => 'revisions', Chris@909: :id => @project, :page => nil, :key => User.current.rss_key})) %> Chris@909: <% end %> Chris@909: Chris@909: <% other_formats_links do |f| %> Chris@909: <%= f.link_to 'Atom', :url => {:action => 'revisions', :id => @project, :key => User.current.rss_key} %> Chris@909: <% end %> Chris@909: <% end %> Chris@909: <% end %> Chris@909: Chris@909: <% content_for :header_tags do %> Chris@909: <%= stylesheet_link_tag "scm" %> Chris@909: <% end %> Chris@909: Chris@909: <% html_title(l(:label_repository)) -%>