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>
|
||||
<% @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 -%>
|
||||
<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>
|
||||
@ -34,7 +34,7 @@
|
||||
<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>
|
||||
<% end
|
||||
|
Loading…
x
Reference in New Issue
Block a user