@@ -1,21 +1,21 | |||||
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), {:action => 'stats', :id => @project}, :class => 'icon icon-stats' %> | |
6 |
|
6 | |||
7 | <% form_tag({:action => controller.action_name, :id => @project, :path => @path, :rev => ''}, {:method => :get, :id => 'revision_selector'}) do -%> |
|
7 | <% form_tag({:action => controller.action_name, :id => @project, :path => to_path_param(@path), :rev => ''}, {:method => :get, :id => 'revision_selector'}) do -%> | |
8 | <!-- Branches Dropdown --> |
|
8 | <!-- Branches Dropdown --> | |
9 | <% if !@repository.branches.nil? && @repository.branches.length > 0 -%> |
|
9 | <% if !@repository.branches.nil? && @repository.branches.length > 0 -%> | |
10 | | <%= l(:label_branch) %>: |
|
10 | | <%= l(:label_branch) %>: | |
11 | <%= select_tag :branch, options_for_select([''] + @repository.branches,@rev), :id => 'branch' %> |
|
11 | <%= select_tag :branch, options_for_select([''] + @repository.branches,@rev), :id => 'branch' %> | |
12 | <% end -%> |
|
12 | <% end -%> | |
13 |
|
13 | |||
14 | <% if !@repository.tags.nil? && @repository.tags.length > 0 -%> |
|
14 | <% if !@repository.tags.nil? && @repository.tags.length > 0 -%> | |
15 | | <%= l(:label_tag) %>: |
|
15 | | <%= l(:label_tag) %>: | |
16 | <%= select_tag :tag, options_for_select([''] + @repository.tags,@rev), :id => 'tag' %> |
|
16 | <%= select_tag :tag, options_for_select([''] + @repository.tags,@rev), :id => 'tag' %> | |
17 | <% end -%> |
|
17 | <% end -%> | |
18 |
|
18 | |||
19 | | <%= l(:label_revision) %>: |
|
19 | | <%= l(:label_revision) %>: | |
20 | <%= text_field_tag 'rev', @rev, :size => 8 %> |
|
20 | <%= text_field_tag 'rev', @rev, :size => 8 %> | |
21 | <% end -%> |
|
21 | <% end -%> |
General Comments 0
You need to be logged in to leave comments.
Login now