comparison app/views/repositories/_navigation.html.erb @ 1115:433d4f72a19b redmine-2.2

Update to Redmine SVN revision 11137 on 2.2-stable branch
author Chris Cannam
date Mon, 07 Jan 2013 12:01:42 +0000
parents c6c2cbd0afee
children bb32da3bea34 261b3d9a4903
comparison
equal deleted inserted replaced
929:5f33065ddc4b 1115:433d4f72a19b
1 <% content_for :header_tags do %> 1 <% content_for :header_tags do %>
2 <%= javascript_include_tag 'repository_navigation' %> 2 <%= javascript_include_tag 'repository_navigation' %>
3 <% end %> 3 <% end %>
4 4
5 <%= link_to l(:label_statistics), {:action => 'stats', :id => @project}, :class => 'icon icon-stats' %> 5 <%= link_to l(:label_statistics),
6 {:action => 'stats', :id => @project, :repository_id => @repository.identifier_param},
7 :class => 'icon icon-stats' if @repository.supports_all_revisions? %>
6 8
7 <% form_tag({:action => controller.action_name, :id => @project, :path => to_path_param(@path), :rev => ''}, {:method => :get, :id => 'revision_selector'}) do -%> 9 <%= form_tag({:action => controller.action_name,
10 :id => @project,
11 :repository_id => @repository.identifier_param,
12 :path => to_path_param(@path),
13 :rev => nil},
14 {:method => :get, :id => 'revision_selector'}) do -%>
8 <!-- Branches Dropdown --> 15 <!-- Branches Dropdown -->
9 <% if !@repository.branches.nil? && @repository.branches.length > 0 -%> 16 <% if !@repository.branches.nil? && @repository.branches.length > 0 -%>
10 | <%= l(:label_branch) %>: 17 | <%= l(:label_branch) %>:
11 <%= select_tag :branch, options_for_select([''] + @repository.branches,@rev), :id => 'branch' %> 18 <%= select_tag :branch,
19 options_for_select([''] + @repository.branches, @rev),
20 :id => 'branch' %>
12 <% end -%> 21 <% end -%>
13 22
14 <% if !@repository.tags.nil? && @repository.tags.length > 0 -%> 23 <% if !@repository.tags.nil? && @repository.tags.length > 0 -%>
15 | <%= l(:label_tag) %>: 24 | <%= l(:label_tag) %>:
16 <%= select_tag :tag, options_for_select([''] + @repository.tags,@rev), :id => 'tag' %> 25 <%= select_tag :tag,
26 options_for_select([''] + @repository.tags, @rev),
27 :id => 'tag' %>
17 <% end -%> 28 <% end -%>
18 29
19 | <%= l(:label_revision) %>: 30 <% if @repository.supports_all_revisions? %>
20 <%= text_field_tag 'rev', @rev, :size => 8 %> 31 | <%= l(:label_revision) %>:
32 <%= text_field_tag 'rev', @rev, :size => 8 %>
33 <% end %>
21 <% end -%> 34 <% end -%>