Merge pull request #455 from foodcoop1040/confirm_delete

Fix UI string for confirm_delete in documents plugin
This commit is contained in:
wvengen 2017-01-28 17:09:13 +01:00 committed by GitHub
commit 1410e242a4

View file

@ -16,5 +16,5 @@
%td= h show_user(document.created_by) %td= h show_user(document.created_by)
%td %td
- if document.created_by == current_user or current_user.role_admin? - if document.created_by == current_user or current_user.role_admin?
= link_to t('ui.delete'), document, :method => :delete, :data => {:confirm => t('admin.confirm', name: document.name)}, = link_to t('ui.delete'), document, :method => :delete, :data => {:confirm => t('ui.confirm_delete', name: document.name)},
class: 'btn btn-mini btn-danger' class: 'btn btn-mini btn-danger'