]> source.dussan.org Git - redmine.git/commitdiff
replace tabs to spaces at app/views/my/page_layout.html.erb
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sat, 17 Sep 2011 10:01:14 +0000 (10:01 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sat, 17 Sep 2011 10:01:14 +0000 (10:01 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7326 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/views/my/page_layout.html.erb

index 1155905f1d90a4206b315f2b9198772cf1373517..419cfee30d4aaa0f6d96e568e4576dc18dcb09a0 100644 (file)
@@ -5,9 +5,9 @@ function recreateSortables() {
     Sortable.destroy('list-left');
     Sortable.destroy('list-right');
 
-       Sortable.create("list-top", {constraint:false, containment:['list-top','list-left','list-right'], dropOnEmpty:true, handle:'handle', onUpdate:function(){new Ajax.Request('<%= url_for(:controller => 'my', :action => 'order_blocks', :group => 'top') %>', {asynchronous:true, evalScripts:true, parameters:Sortable.serialize("list-top")})}, only:'mypage-box', tag:'div'})
-       Sortable.create("list-left", {constraint:false, containment:['list-top','list-left','list-right'], dropOnEmpty:true, handle:'handle', onUpdate:function(){new Ajax.Request('<%= url_for(:controller => 'my', :action => 'order_blocks', :group => 'left') %>', {asynchronous:true, evalScripts:true, parameters:Sortable.serialize("list-left")})}, only:'mypage-box', tag:'div'})
-       Sortable.create("list-right", {constraint:false, containment:['list-top','list-left','list-right'], dropOnEmpty:true, handle:'handle', onUpdate:function(){new Ajax.Request('<%= url_for(:controller => 'my', :action => 'order_blocks', :group => 'right') %>', {asynchronous:true, evalScripts:true, parameters:Sortable.serialize("list-right")})}, only:'mypage-box', tag:'div'})
+  Sortable.create("list-top", {constraint:false, containment:['list-top','list-left','list-right'], dropOnEmpty:true, handle:'handle', onUpdate:function(){new Ajax.Request('<%= url_for(:controller => 'my', :action => 'order_blocks', :group => 'top') %>', {asynchronous:true, evalScripts:true, parameters:Sortable.serialize("list-top")})}, only:'mypage-box', tag:'div'})
+  Sortable.create("list-left", {constraint:false, containment:['list-top','list-left','list-right'], dropOnEmpty:true, handle:'handle', onUpdate:function(){new Ajax.Request('<%= url_for(:controller => 'my', :action => 'order_blocks', :group => 'left') %>', {asynchronous:true, evalScripts:true, parameters:Sortable.serialize("list-left")})}, only:'mypage-box', tag:'div'})
+  Sortable.create("list-right", {constraint:false, containment:['list-top','list-left','list-right'], dropOnEmpty:true, handle:'handle', onUpdate:function(){new Ajax.Request('<%= url_for(:controller => 'my', :action => 'order_blocks', :group => 'right') %>', {asynchronous:true, evalScripts:true, parameters:Sortable.serialize("list-right")})}, only:'mypage-box', tag:'div'})
 }
 
 function updateSelect() {
@@ -53,24 +53,24 @@ function removeBlock(block) {
 <h2><%=l(:label_my_page)%></h2>
 
 <div id="list-top" class="block-receiver">
-       <% @blocks['top'].each do |b|
-          next unless MyController::BLOCKS.keys.include? b %>
-       <%= render :partial => 'block', :locals => {:user => @user, :block_name => b} %>
-       <% end if @blocks['top'] %>
+  <% @blocks['top'].each do |b|
+     next unless MyController::BLOCKS.keys.include? b %>
+  <%= render :partial => 'block', :locals => {:user => @user, :block_name => b} %>
+  <% end if @blocks['top'] %>
 </div>
 
 <div id="list-left" class="splitcontentleft block-receiver">
-       <% @blocks['left'].each do |b|
-          next unless MyController::BLOCKS.keys.include? b %>
-       <%= render :partial => 'block', :locals => {:user => @user, :block_name => b} %>
-       <% end if @blocks['left'] %>
+  <% @blocks['left'].each do |b|
+     next unless MyController::BLOCKS.keys.include? b %>
+  <%= render :partial => 'block', :locals => {:user => @user, :block_name => b} %>
+  <% end if @blocks['left'] %>
 </div>
 
 <div id="list-right" class="splitcontentright block-receiver">
-       <% @blocks['right'].each do |b|
-          next unless MyController::BLOCKS.keys.include? b %>
-       <%= render :partial => 'block', :locals => {:user => @user, :block_name => b} %>
-       <% end if @blocks['right'] %>
+  <% @blocks['right'].each do |b|
+     next unless MyController::BLOCKS.keys.include? b %>
+  <%= render :partial => 'block', :locals => {:user => @user, :block_name => b} %>
+  <% end if @blocks['right'] %>
 </div>
 
 <%= sortable_element 'list-top',