diff options
| author | erdgeist <erdgeist@erdgeist.org> | 2026-08-03 01:25:56 +0200 |
|---|---|---|
| committer | erdgeist <erdgeist@erdgeist.org> | 2026-08-03 01:25:56 +0200 |
| commit | 5a92cdea355b57443f33eee281238451d83df1cd (patch) | |
| tree | 167d06787365df26a2d7a006a34a358e559b327a /app | |
| parent | 751261c2ffdc90e93869192555ae0d5e4070ff79 (diff) | |
Link each account to its own entries in the log
Diffstat (limited to 'app')
| -rw-r--r-- | app/views/users/_user.html.erb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/app/views/users/_user.html.erb b/app/views/users/_user.html.erb index 37009027..aa65cc3d 100644 --- a/app/views/users/_user.html.erb +++ b/app/views/users/_user.html.erb | |||
| @@ -55,6 +55,13 @@ | |||
| 55 | </span> | 55 | </span> |
| 56 | 56 | ||
| 57 | <span class="user_action"> | 57 | <span class="user_action"> |
| 58 | <%= link_to admin_log_path(:user_id => user.id), | ||
| 59 | "aria-label" => t(".action_log"), title: t(".action_log") do %> | ||
| 60 | <%= icon("history", library: "tabler", "aria-hidden": true) %> | ||
| 61 | <% end %> | ||
| 62 | </span> | ||
| 63 | |||
| 64 | <span class="user_action"> | ||
| 58 | <% if current_user.admin? && current_user != user %> | 65 | <% if current_user.admin? && current_user != user %> |
| 59 | <% if user.alumni? %> | 66 | <% if user.alumni? %> |
| 60 | <%= button_to reactivate_user_path(user), method: :put, | 67 | <%= button_to reactivate_user_path(user), method: :put, |
