replace tabs to spaces at app/views/files/index.html.erb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7328 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
aff6fe1f7a
commit
258ba4f604
@ -18,13 +18,13 @@
|
|||||||
<tbody>
|
<tbody>
|
||||||
<% @containers.each do |container| %>
|
<% @containers.each do |container| %>
|
||||||
<% next if container.attachments.empty? -%>
|
<% next if container.attachments.empty? -%>
|
||||||
<% if container.is_a?(Version) -%>
|
<% if container.is_a?(Version) -%>
|
||||||
<tr>
|
<tr>
|
||||||
<th colspan="6" align="left">
|
<th colspan="6" align="left">
|
||||||
<%= link_to(h(container), {:controller => 'versions', :action => 'show', :id => container}, :class => "icon icon-package") %>
|
<%= link_to(h(container), {:controller => 'versions', :action => 'show', :id => container}, :class => "icon icon-package") %>
|
||||||
</th>
|
</th>
|
||||||
</tr>
|
</tr>
|
||||||
<% end -%>
|
<% end -%>
|
||||||
<% container.attachments.each do |file| %>
|
<% container.attachments.each do |file| %>
|
||||||
<tr class="file <%= cycle("odd", "even") %>">
|
<tr class="file <%= cycle("odd", "even") %>">
|
||||||
<td class="filename"><%= link_to_attachment file, :download => true, :title => file.description %></td>
|
<td class="filename"><%= link_to_attachment file, :download => true, :title => file.description %></td>
|
||||||
@ -34,7 +34,7 @@
|
|||||||
<td class="digest"><%= file.digest %></td>
|
<td class="digest"><%= file.digest %></td>
|
||||||
<td align="center">
|
<td align="center">
|
||||||
<%= link_to(image_tag('delete.png'), {:controller => 'attachments', :action => 'destroy', :id => file},
|
<%= 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>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<% end
|
<% end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user