summaryrefslogtreecommitdiff
path: root/app/views/users/_user.html.erb
diff options
context:
space:
mode:
authorerdgeist <erdgeist@erdgeist.org>2026-08-04 07:07:05 +0200
committererdgeist <erdgeist@erdgeist.org>2026-08-04 07:07:05 +0200
commit409d71ed471703be8c56f2639a3ecb0fa387e6a7 (patch)
tree0a7108786cb549e343d8926b232f52a191570422 /app/views/users/_user.html.erb
parent974062f16169f6d07f2289564be6d72610b8770e (diff)
Give node lists a flag column and a shared action bar
Diffstat (limited to 'app/views/users/_user.html.erb')
-rw-r--r--app/views/users/_user.html.erb18
1 files changed, 9 insertions, 9 deletions
diff --git a/app/views/users/_user.html.erb b/app/views/users/_user.html.erb
index be92ad1d..028ee02f 100644
--- a/app/views/users/_user.html.erb
+++ b/app/views/users/_user.html.erb
@@ -27,17 +27,17 @@
27 <span class="field_hint"><%= t(".no_roles") %></span> 27 <span class="field_hint"><%= t(".no_roles") %></span>
28 <% end %> 28 <% end %>
29 </td> 29 </td>
30 <td class="user_actions"> 30 <td class="actions">
31 <div class="user_action_grid"> 31 <div class="action_grid">
32 <span class="user_action"> 32 <span class="action_item">
33 <%= link_to user_path(user), "aria-label" => t("admin.common.show"), 33 <%= link_to user_path(user), "aria-label" => t("admin.common.show"),
34 title: t("admin.common.show") do %> 34 title: t("admin.common.show") do %>
35 <%= icon("eye", library: "tabler", "aria-hidden": true) %> 35 <%= icon("eye", library: "tabler", "aria-hidden": true) %>
36 <% end %> 36 <% end %>
37 </span> 37 </span>
38 38
39 <span class="user_action"> 39 <span class="action_item">
40 <% if current_user.admin? || current_user == user %> 40 <% if current_user.is_admin? || current_user == user %>
41 <%= link_to edit_user_path(user), "aria-label" => t("admin.common.edit"), 41 <%= link_to edit_user_path(user), "aria-label" => t("admin.common.edit"),
42 title: t("admin.common.edit") do %> 42 title: t("admin.common.edit") do %>
43 <%= icon("edit", library: "tabler", "aria-hidden": true) %> 43 <%= icon("edit", library: "tabler", "aria-hidden": true) %>
@@ -45,15 +45,15 @@
45 <% end %> 45 <% end %>
46 </span> 46 </span>
47 47
48 <span class="user_action"> 48 <span class="action_item">
49 <%= link_to admin_log_path(:user_id => user.id), 49 <%= link_to admin_log_path(:user_id => user.id),
50 "aria-label" => t(".action_log"), title: t(".action_log") do %> 50 "aria-label" => t(".action_log"), title: t(".action_log") do %>
51 <%= icon("history", library: "tabler", "aria-hidden": true) %> 51 <%= icon("history", library: "tabler", "aria-hidden": true) %>
52 <% end %> 52 <% end %>
53 </span> 53 </span>
54 54
55 <span class="user_action"> 55 <span class="action_item">
56 <% if current_user.admin? && current_user != user %> 56 <% if current_user.is_admin? && current_user != user %>
57 <% if user.alumni? %> 57 <% if user.alumni? %>
58 <%= button_to reactivate_user_path(user), method: :put, 58 <%= button_to reactivate_user_path(user), method: :put,
59 form: { class: 'button_to state_changing' }, 59 form: { class: 'button_to state_changing' },
@@ -71,7 +71,7 @@
71 <% end %> 71 <% end %>
72 </span> 72 </span>
73 73
74 <span class="user_action"> 74 <span class="action_item">
75 <% if current_user.redaktion? && !user.alumni? %> 75 <% if current_user.redaktion? && !user.alumni? %>
76 <% if user.redaktion? %> 76 <% if user.redaktion? %>
77 <% unless user == current_user %> 77 <% unless user == current_user %>