finished admin/users i18n + dry the admin i18n
This commit is contained in:
parent
75c9338fd9
commit
64b3d7e17d
13 changed files with 78 additions and 56 deletions
|
|
@ -6,8 +6,8 @@
|
|||
%tr
|
||||
%th= t '.name'
|
||||
%th= t '.members'
|
||||
%th= t '.access_to'
|
||||
%th= t '.actions'
|
||||
%th= t 'admin.access_to'
|
||||
%th= t 'admin.actions'
|
||||
%tbody
|
||||
- for workgroup in @workgroups
|
||||
%tr
|
||||
|
|
@ -15,6 +15,6 @@
|
|||
%td= workgroup.users.size
|
||||
%td= format_roles(workgroup)
|
||||
%td
|
||||
= link_to t('.edit'), edit_admin_workgroup_path(workgroup), class: 'btn btn-mini'
|
||||
= link_to t('.delete'), [:admin, workgroup], :confirm => t('.confirm', name: workgroup.name),
|
||||
= link_to t('admin.edit'), edit_admin_workgroup_path(workgroup), class: 'btn btn-mini'
|
||||
= link_to t('admin.delete'), [:admin, workgroup], :confirm => t('admin.confirm', name: workgroup.name),
|
||||
:method => :delete, class: 'btn btn-mini btn-danger'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue