2007-03-25 21:11:46 +04:00
|
|
|
<div class="contextual">
|
|
|
|
<%= link_to l(:label_statistics), {:action => 'stats', :id => @project}, :class => 'icon icon-stats' %>
|
2008-06-15 19:56:47 +04:00
|
|
|
|
|
|
|
<% if !@entries.nil? && authorize_for('repositories', 'browse') -%>
|
|
|
|
<% form_tag(:action => 'browse', :id => @project) do -%>
|
|
|
|
| <%= l(:label_revision) %>: <%= text_field_tag 'rev', @rev, :size => 5 %>
|
|
|
|
<% end -%>
|
|
|
|
<% end -%>
|
2007-03-25 21:11:46 +04:00
|
|
|
</div>
|
|
|
|
|
2007-06-13 00:12:05 +04:00
|
|
|
<h2><%= l(:label_repository) %> (<%= @repository.scm_name %>)</h2>
|
2006-12-24 16:38:45 +03:00
|
|
|
|
2007-08-29 20:52:35 +04:00
|
|
|
<% if !@entries.nil? && authorize_for('repositories', 'browse') %>
|
2007-01-05 22:10:57 +03:00
|
|
|
<%= render :partial => 'dir_list' %>
|
2007-06-13 00:12:05 +04:00
|
|
|
<% end %>
|
2007-01-05 22:10:57 +03:00
|
|
|
|
2007-08-29 20:52:35 +04:00
|
|
|
<% if !@changesets.empty? && authorize_for('repositories', 'revisions') %>
|
2007-03-25 16:12:15 +04:00
|
|
|
<h3><%= l(:label_latest_revision_plural) %></h3>
|
2007-06-13 00:12:05 +04:00
|
|
|
<%= render :partial => 'revisions', :locals => {:project => @project, :path => '', :revisions => @changesets, :entry => nil }%>
|
2007-03-25 16:12:15 +04:00
|
|
|
<p><%= link_to l(:label_view_revisions), :action => 'revisions', :id => @project %></p>
|
2007-08-29 20:52:35 +04:00
|
|
|
<% 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 %>
|
2008-09-12 21:17:25 +04:00
|
|
|
<p class="other-formats">
|
|
|
|
<%= l(:label_export_to) %>
|
|
|
|
<span><%= link_to 'Atom', {:action => 'revisions', :id => @project, :format => 'atom', :key => User.current.rss_key}, :class => 'feed' %></span>
|
|
|
|
</p>
|
2007-03-25 16:12:15 +04:00
|
|
|
<% end %>
|
|
|
|
|
2007-01-05 22:10:57 +03:00
|
|
|
<% content_for :header_tags do %>
|
|
|
|
<%= stylesheet_link_tag "scm" %>
|
2007-06-13 00:12:05 +04:00
|
|
|
<% end %>
|
2007-12-07 21:42:40 +03:00
|
|
|
|
2008-01-03 01:41:53 +03:00
|
|
|
<% html_title(l(:label_repository)) -%>
|