code layout cleanup app/views/repositories/_navigation.html.erb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8472 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
888f9fd5e1
commit
65959100f4
|
@ -2,18 +2,28 @@
|
||||||
<%= javascript_include_tag 'repository_navigation' %>
|
<%= javascript_include_tag 'repository_navigation' %>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
||||||
<%= link_to l(:label_statistics), {:action => 'stats', :id => @project}, :class => 'icon icon-stats' %>
|
<%= link_to l(:label_statistics),
|
||||||
|
{:action => 'stats', :id => @project},
|
||||||
|
:class => 'icon icon-stats' %>
|
||||||
|
|
||||||
<% form_tag({:action => controller.action_name, :id => @project, :path => to_path_param(@path), :rev => ''}, {:method => :get, :id => 'revision_selector'}) do -%>
|
<% form_tag({:action => controller.action_name,
|
||||||
|
:id => @project,
|
||||||
|
:path => to_path_param(@path),
|
||||||
|
:rev => ''},
|
||||||
|
{:method => :get, :id => 'revision_selector'}) do -%>
|
||||||
<!-- Branches Dropdown -->
|
<!-- Branches Dropdown -->
|
||||||
<% if !@repository.branches.nil? && @repository.branches.length > 0 -%>
|
<% if !@repository.branches.nil? && @repository.branches.length > 0 -%>
|
||||||
| <%= l(:label_branch) %>:
|
| <%= l(:label_branch) %>:
|
||||||
<%= select_tag :branch, options_for_select([''] + @repository.branches,@rev), :id => 'branch' %>
|
<%= select_tag :branch,
|
||||||
|
options_for_select([''] + @repository.branches, @rev),
|
||||||
|
:id => 'branch' %>
|
||||||
<% end -%>
|
<% end -%>
|
||||||
|
|
||||||
<% if !@repository.tags.nil? && @repository.tags.length > 0 -%>
|
<% if !@repository.tags.nil? && @repository.tags.length > 0 -%>
|
||||||
| <%= l(:label_tag) %>:
|
| <%= l(:label_tag) %>:
|
||||||
<%= select_tag :tag, options_for_select([''] + @repository.tags,@rev), :id => 'tag' %>
|
<%= select_tag :tag,
|
||||||
|
options_for_select([''] + @repository.tags, @rev),
|
||||||
|
:id => 'tag' %>
|
||||||
<% end -%>
|
<% end -%>
|
||||||
|
|
||||||
| <%= l(:label_revision) %>:
|
| <%= l(:label_revision) %>:
|
||||||
|
|
Loading…
Reference in New Issue