Defect #72 » missingdelbtn.patch
app/views/projects/list_files.rhtml (working copy) | ||
---|---|---|
31 | 31 |
<% if delete_allowed %> |
32 | 32 |
<td align="center"> |
33 | 33 |
<div class="contextual"> |
34 |
<%= link_to_if_authorized '', {:controller => 'versions', :action => 'destroy_file', :id => version, :attachment_id => file}, :confirm => l(:text_are_you_sure), :method => :post, :class => 'icon icon-del' %>
|
|
34 |
<%= link_to_if_authorized l(:button_delete), {:controller => 'versions', :action => 'destroy_file', :id => version, :attachment_id => file}, :confirm => l(:text_are_you_sure), :method => :post, :class => 'icon icon-del' %>
|
|
35 | 35 |
</div> |
36 | 36 |
</td> |
37 | 37 |
<% end %> |
- « Previous
- 1
- 2
- Next »