summaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2012-01-02 14:41:02 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2012-01-02 14:41:02 +0000
commit65959100f469834cb9becfeb0f2bbecd83105dba (patch)
treee0e05a2847486436e6e63d0fb9e53f80de55cdac /app
parent888f9fd5e18a95f8bd75e7f99ad7488118c204ed (diff)
downloadredmine-65959100f469834cb9becfeb0f2bbecd83105dba.tar.gz
redmine-65959100f469834cb9becfeb0f2bbecd83105dba.zip
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
Diffstat (limited to 'app')
-rw-r--r--app/views/repositories/_navigation.html.erb18
1 files changed, 14 insertions, 4 deletions
diff --git a/app/views/repositories/_navigation.html.erb b/app/views/repositories/_navigation.html.erb
index 5671e2948..706f06c80 100644
--- a/app/views/repositories/_navigation.html.erb
+++ b/app/views/repositories/_navigation.html.erb
@@ -2,18 +2,28 @@
<%= javascript_include_tag 'repository_navigation' %>
<% 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 -->
<% if !@repository.branches.nil? && @repository.branches.length > 0 -%>
| <%= 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 -%>
<% if !@repository.tags.nil? && @repository.tags.length > 0 -%>
| <%= 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 -%>
| <%= l(:label_revision) %>: