From 335ac4f326ccc225207330c0b8d5ae3563196c88 Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Thu, 20 Oct 2011 01:07:10 +0000 Subject: [PATCH] code layout clean up of app/views/repositories/_dir_list_content.html.erb git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7630 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/views/repositories/_dir_list_content.html.erb | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/app/views/repositories/_dir_list_content.html.erb b/app/views/repositories/_dir_list_content.html.erb index 94f1b36bf..4a1779e28 100644 --- a/app/views/repositories/_dir_list_content.html.erb +++ b/app/views/repositories/_dir_list_content.html.erb @@ -7,12 +7,21 @@ ";> <% if entry.is_dir? %> - "scmEntryClick('#{tr_id}')"%>">  + :condition => "scmEntryClick('#{tr_id}')" + ) %>">  <% end %> <%= link_to h(ent_name), {:action => (entry.is_dir? ? 'show' : 'changes'), :id => @project, :path => to_path_param(ent_path), :rev => @rev}, -- 2.39.5