e0811bc80d
@rev is set as default branch at controller. On Git, in most cases it is "master". And it is set on revision text box of "View all revisions" page. "master" branch is NOT revision, so clicking OK button causes error. It is very confused. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10713 e93f8b46-1217-0410-a6f0-8f06a7374b81
35 lines
1.1 KiB
Plaintext
35 lines
1.1 KiB
Plaintext
<div class="contextual">
|
|
<%= 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 '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)) -%>
|