diff options
| author | erdgeist <erdgeist@erdgeist.org> | 2026-08-04 17:13:18 +0200 |
|---|---|---|
| committer | erdgeist <erdgeist@erdgeist.org> | 2026-08-04 17:13:18 +0200 |
| commit | ac01156d00b24d14225c8e75979fb59bba69640d (patch) | |
| tree | f223b41358debb6cee45c5351d885505615b0e02 /app/views/users/_user.html.erb | |
| parent | 409d71ed471703be8c56f2639a3ecb0fa387e6a7 (diff) | |
Tidy up headings on house keeping views
- Collapse page headers into one action row with an optional hint
- limit will_paginate to one row
Diffstat (limited to 'app/views/users/_user.html.erb')
| -rw-r--r-- | app/views/users/_user.html.erb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/app/views/users/_user.html.erb b/app/views/users/_user.html.erb index 028ee02f..e70c7032 100644 --- a/app/views/users/_user.html.erb +++ b/app/views/users/_user.html.erb | |||
| @@ -79,7 +79,7 @@ | |||
| 79 | form: { data: { confirm: t(".confirm_revoke_redaktion", :login => user.login) }, | 79 | form: { data: { confirm: t(".confirm_revoke_redaktion", :login => user.login) }, |
| 80 | class: 'button_to destructive' }, | 80 | class: 'button_to destructive' }, |
| 81 | "aria-label" => t(".revoke_redaktion"), title: t(".revoke_redaktion") do %> | 81 | "aria-label" => t(".revoke_redaktion"), title: t(".revoke_redaktion") do %> |
| 82 | <%= icon("user-minus", library: "tabler", "aria-hidden": true) %> | 82 | <%= icon("users-minus", library: "tabler", "aria-hidden": true) %> |
| 83 | <% end %> | 83 | <% end %> |
| 84 | <% end %> | 84 | <% end %> |
| 85 | <% elsif user.otp_enrolled? %> | 85 | <% elsif user.otp_enrolled? %> |
| @@ -87,13 +87,13 @@ | |||
| 87 | form: { data: { confirm: t(".confirm_grant_redaktion", :login => user.login) }, | 87 | form: { data: { confirm: t(".confirm_grant_redaktion", :login => user.login) }, |
| 88 | class: 'button_to state_changing' }, | 88 | class: 'button_to state_changing' }, |
| 89 | "aria-label" => t(".grant_redaktion"), title: t(".grant_redaktion") do %> | 89 | "aria-label" => t(".grant_redaktion"), title: t(".grant_redaktion") do %> |
| 90 | <%= icon("user-plus", library: "tabler", "aria-hidden": true) %> | 90 | <%= icon("users-plus", library: "tabler", "aria-hidden": true) %> |
| 91 | <% end %> | 91 | <% end %> |
| 92 | <% else %> | 92 | <% else %> |
| 93 | <button type="button" class="disabled_action" disabled | 93 | <button type="button" class="disabled_action" disabled |
| 94 | title="<%= t(".grant_redaktion_blocked") %>" | 94 | title="<%= t(".grant_redaktion_blocked") %>" |
| 95 | aria-label="<%= t(".grant_redaktion_blocked") %>"> | 95 | aria-label="<%= t(".grant_redaktion_blocked") %>"> |
| 96 | <%= icon("user-plus", library: "tabler", "aria-hidden": true) %> | 96 | <%= icon("users-plus", library: "tabler", "aria-hidden": true) %> |
| 97 | </button> | 97 | </button> |
| 98 | <% end %> | 98 | <% end %> |
| 99 | <% end %> | 99 | <% end %> |
