view .svn/pristine/50/509ee267bffe97965ae0a631af5009f5ad9e1775.svn-base @ 1539:22d57b0e0a77 live

OK, this script works now, but it should be using the API
author Chris Cannam <chris.cannam@soundsoftware.ac.uk>
date Thu, 21 May 2015 17:31:06 +0100
parents cbb26bc654de
children
line wrap: on
line source
<div class="contextual">
<% form_tag({:action => 'revision', :id => @project}) do %>
<%=   l(:label_revision) %>: <%= text_field_tag 'rev', @rev, :size => 8 %>
<%=   submit_tag 'OK' %>
<% end %>
</div>

<h2><%= l(:label_revision_plural) %></h2>

<%= render :partial => 'revisions',
           :locals => {:project   => @project,
                       :path      => '',
                       :revisions => @changesets,
                       :entry     => nil } %>

<p class="pagination"><%= pagination_links_full @changeset_pages,@changeset_count %></p>

<% 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)) -%>