Fix UI string for confirm_delete in documents plugin

This commit is contained in:
Patrick Gansterer 2017-01-26 22:49:13 +01:00
parent 2072fbb4d5
commit a7f86dd0cd
1 changed files with 1 additions and 1 deletions

View File

@ -16,5 +16,5 @@
%td= h show_user(document.created_by)
%td
- 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'