Commit 4aad9ec8 authored by Chrysanthi Lagodimou's avatar Chrysanthi Lagodimou Committed by Tuğçe Nur Taş
Browse files

drop admin role, drop staff method

parent c79cca9f
......@@ -10,5 +10,5 @@ tr
td = link_to t_action(:show), client
td = link_to t_action(:edit), edit_client_path(client)
td
- if policy(Client).destroy?
- if current_user.superadmin?
= link_to t_action(:destroy), client, data: { confirm: t('are_you_sure')}, method: :delete
......@@ -206,9 +206,9 @@ de:
rejected: Abgelehnt
user:
role:
superadmin: Superadmin
social_worker: Sozialarbeiter
department_manager: Standort Leiter
superadmin: 'Superadmin'
social_worker: 'Sozialarbeiter'
department_manager: 'Standort Leiter'
"yes": 'Ja'
"no": 'Nein'
required:
......
......@@ -130,8 +130,7 @@ en:
role:
superadmin: 'Superadmin'
social_worker: 'Social worker'
admin: 'Administrator'
department_manager: 'Department manager'
department_manager: 'Departement manager'
"yes": 'Yes'
"no": 'No'
required:
......@@ -161,9 +160,8 @@ en:
basic: Basic
role:
superadmin: superadmin
admin: admin
social_worker: social worker
department_manager: department manager
social_worker: social_worker
department_manager: department_manager
times:
morning: morning
afternoon: afternoon
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment