]> source.dussan.org Git - redmine.git/commitdiff
code layout clean up of app/views/repositories/_dir_list_content.html.erb
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Thu, 20 Oct 2011 01:07:10 +0000 (01:07 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Thu, 20 Oct 2011 01:07:10 +0000 (01:07 +0000)
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

index 94f1b36bf1db3c2cdb5f0b1d710b567b5dba506f..4a1779e28cb30e164b1e45e916a93647fbd707a8 100644 (file)
@@ -7,12 +7,21 @@
 <td style="padding-left: <%=18 * depth%>px;" class="<%=
            @repository.report_last_commit ? "filename" : "filename_no_report" %>";>
 <% if entry.is_dir? %>
-<span class="expander" onclick="<%=  remote_function :url => {:action => 'show', :id => @project, :path => to_path_param(ent_path), :rev => @rev, :depth => (depth + 1), :parent_id => tr_id},
+<span class="expander" onclick="<%= remote_function(
+                  :url => {
+                       :action => 'show',
+                       :id     => @project,
+                       :path   => to_path_param(ent_path),
+                       :rev    => @rev,
+                       :depth  => (depth + 1),
+                       :parent_id => tr_id
+                         },
                   :method => :get,
                   :update => { :success => tr_id },
                   :position => :after,
                   :success => "scmEntryLoaded('#{tr_id}')",
-                  :condition => "scmEntryClick('#{tr_id}')"%>">&nbsp</span>
+                  :condition => "scmEntryClick('#{tr_id}')"
+                ) %>">&nbsp</span>
 <% end %>
 <%=  link_to h(ent_name),
           {:action => (entry.is_dir? ? 'show' : 'changes'), :id => @project, :path => to_path_param(ent_path), :rev => @rev},