show.rhtml
23 lines
| 985 B
| text/html+ruby
|
RhtmlLexer
|
r377 | <div class="contextual"> | ||
<%= link_to l(:label_statistics), {:action => 'stats', :id => @project}, :class => 'icon icon-stats' %> | ||||
</div> | ||||
|
r556 | <h2><%= l(:label_repository) %> (<%= @repository.scm_name %>)</h2> | ||
|
r103 | |||
|
r663 | <% if !@entries.nil? && authorize_for('repositories', 'browse') %> | ||
|
r103 | <h3><%= l(:label_browse) %></h3> | ||
|
r147 | <%= render :partial => 'dir_list' %> | ||
|
r556 | <% end %> | ||
|
r147 | |||
|
r663 | <% if !@changesets.empty? && authorize_for('repositories', 'revisions') %> | ||
|
r374 | <h3><%= l(:label_latest_revision_plural) %></h3> | ||
|
r556 | <%= render :partial => 'revisions', :locals => {:project => @project, :path => '', :revisions => @changesets, :entry => nil }%> | ||
|
r374 | <p><%= link_to l(:label_view_revisions), :action => 'revisions', :id => @project %></p> | ||
|
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 %> | ||||
|
r374 | <% end %> | ||
|
r147 | <% content_for :header_tags do %> | ||
<%= stylesheet_link_tag "scm" %> | ||||
|
r556 | <% end %> | ||