comparison .svn/pristine/08/085f61120574ccfad3bedefd8a6623102e2bf32b.svn-base @ 1295:622f24f53b42 redmine-2.3

Update to Redmine SVN revision 11972 on 2.3-stable branch
author Chris Cannam
date Fri, 14 Jun 2013 09:02:21 +0100
parents
children
comparison
equal deleted inserted replaced
1294:3e4c3460b6ca 1295:622f24f53b42
1 <% content_for :header_tags do %>
2 <%= javascript_include_tag 'repository_navigation' %>
3 <% end %>
4
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? %>
8
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 -%>
15 <!-- Branches Dropdown -->
16 <% if !@repository.branches.nil? && @repository.branches.length > 0 -%>
17 | <%= l(:label_branch) %>:
18 <%= select_tag :branch,
19 options_for_select([''] + @repository.branches, @rev),
20 :id => 'branch' %>
21 <% end -%>
22
23 <% if !@repository.tags.nil? && @repository.tags.length > 0 -%>
24 | <%= l(:label_tag) %>:
25 <%= select_tag :tag,
26 options_for_select([''] + @repository.tags, @rev),
27 :id => 'tag' %>
28 <% end -%>
29
30 <% if @repository.supports_all_revisions? %>
31 | <%= l(:label_revision) %>:
32 <%= text_field_tag 'rev', @rev, :size => 8 %>
33 <% end %>
34 <% end -%>