annotate app/views/repositories/_navigation.rhtml @ 904:0a8317a50fa0 redmine-1.1

Close obsolete branch redmine-1.1
author Chris Cannam
date Fri, 14 Jan 2011 12:53:21 +0000
parents 513646585e45
children 8873bc7c1af5
rev   line source
Chris@0 1 <% content_for :header_tags do %>
Chris@0 2 <%= javascript_include_tag 'repository_navigation' %>
Chris@0 3 <% end %>
Chris@0 4
Chris@0 5 <%= link_to l(:label_statistics), {:action => 'stats', :id => @project}, :class => 'icon icon-stats' %>
Chris@0 6
Chris@0 7 <% form_tag({:action => controller.action_name, :id => @project, :path => to_path_param(@path), :rev => ''}, {:method => :get, :id => 'revision_selector'}) do -%>
Chris@0 8 <!-- Branches Dropdown -->
Chris@0 9 <% if !@repository.branches.nil? && @repository.branches.length > 0 -%>
Chris@0 10 | <%= l(:label_branch) %>:
Chris@0 11 <%= select_tag :branch, options_for_select([''] + @repository.branches,@rev), :id => 'branch' %>
Chris@0 12 <% end -%>
Chris@0 13
Chris@0 14 <% if !@repository.tags.nil? && @repository.tags.length > 0 -%>
Chris@0 15 | <%= l(:label_tag) %>:
Chris@0 16 <%= select_tag :tag, options_for_select([''] + @repository.tags,@rev), :id => 'tag' %>
Chris@0 17 <% end -%>
Chris@0 18
Chris@0 19 | <%= l(:label_revision) %>:
Chris@0 20 <%= text_field_tag 'rev', @rev, :size => 8 %>
Chris@0 21 <% end -%>