socialforge/app/views/repositories/revisions.html.erb

40 lines
1.3 KiB
Plaintext

<div class="project_r_h">
<h2 class="project_h2"><%= l(:label_repository_plural) %></h2>
</div>
<div>
<h3><%= l(:label_revision_plural) %></h3>
<%= form_tag(
{:controller => 'repositories', :action => 'revision', :id => @project,
:repository_id => @repository.identifier_param},
:method => :get
) do %>
<%= l(:label_revision) %>: <%= text_field_tag 'rev', nil, :size => 8 %>
<%= submit_tag l(:label_button_ok) %>
<% end %>
</div>
<%= render :partial => 'revisions',
:locals => {:project => @project,
:path => '',
:revisions => @changesets,
:entry => nil } %>
<ul class="wlist">
<%= pagination_links_full @changeset_pages, @changeset_count, :per_page_links => false, :remote => false, :flag => true %>
</ul>
<% content_for :header_tags do %>
<%= stylesheet_link_tag "scm" %>
<%= auto_discovery_link_tag(
:atom,
params.merge(
{:format => 'atom', :page => nil, :key => User.current.rss_key})) %>
<% end %>
<% other_formats_links do |f| %>
<%= f.link_to 'Atom', :url => {:key => User.current.rss_key} %>
<% end %>
<% html_title(l(:label_revision_plural)) -%>