From d9a018a75002bba009e60eaa87a5fb8276233c4e Mon Sep 17 00:00:00 2001 From: erdgeist Date: Sun, 2 Aug 2026 18:59:08 +0200 Subject: Witness account creation --- app/helpers/node_actions_helper.rb | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'app/helpers') diff --git a/app/helpers/node_actions_helper.rb b/app/helpers/node_actions_helper.rb index 53f6ecd0..019a9cf7 100644 --- a/app/helpers/node_actions_helper.rb +++ b/app/helpers/node_actions_helper.rb @@ -19,10 +19,11 @@ module NodeActionsHelper "otp_enroll" => "shield-lock", "otp_disable" => "shield-off", "otp_reset" => "shield-x", + "user_create" => "user-plus", "user_deactivate" => "user-off", "user_reactivate" => "user-check", - "redaktion_grant" => "user-plus", - "redaktion_revoke" => "user-minus" + "redaktion_grant" => "users-plus", + "redaktion_revoke" => "users-minus" }.freeze def verb_icon action @@ -295,4 +296,9 @@ module NodeActionsHelper t("node_actions.redaktion_revoke", :actor => actor_ref(action), :target => user_participant_ref(action)).html_safe end + + def summarize_user_create action + t("node_actions.user_create", :actor => actor_ref(action), + :target => user_participant_ref(action)).html_safe + end end -- cgit v1.3