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

app/views/files/index.html.erb

index 5a9a5e6fe703193872356d12fed1a8df8c20d404..0844fa35576044601983846670ac8367d0dfdab7 100644 (file)
     <th></th>
   </tr></thead>
   <tbody>
-<% @containers.each do |container| %>  
+<% @containers.each do |container| %>  
   <% next if container.attachments.empty? -%>
-       <% if container.is_a?(Version) -%>
+  <% if container.is_a?(Version) -%>
   <tr>
-       <th colspan="6" align="left">
-               <%= link_to(h(container), {:controller => 'versions', :action => 'show', :id => container}, :class => "icon icon-package") %>
-               </th>
-       </tr>
-       <% end -%>
-  <% container.attachments.each do |file| %>           
+    <th colspan="6" align="left">
+      <%= link_to(h(container), {:controller => 'versions', :action => 'show', :id => container}, :class => "icon icon-package") %>
+    </th>
+  </tr>
+  <% end -%>
+  <% container.attachments.each do |file| %>    
   <tr class="file <%= cycle("odd", "even") %>">
     <td class="filename"><%= link_to_attachment file, :download => true, :title => file.description %></td>
     <td class="created_on"><%= format_time(file.created_on) %></td>
@@ -34,9 +34,9 @@
     <td class="digest"><%= file.digest %></td>
     <td align="center">
     <%= link_to(image_tag('delete.png'), {:controller => 'attachments', :action => 'destroy', :id => file},
-                                                                                                                                                                :confirm => l(:text_are_you_sure), :method => :post) if delete_allowed %>
+                                         :confirm => l(:text_are_you_sure), :method => :post) if delete_allowed %>
     </td>
-  </tr>                
+  </tr>    
   <% end
   reset_cycle %>
 <% end %>