diff options
| author | erdgeist <erdgeist@erdgeist.org> | 2026-08-02 18:59:08 +0200 |
|---|---|---|
| committer | erdgeist <erdgeist@erdgeist.org> | 2026-08-02 18:59:08 +0200 |
| commit | d9a018a75002bba009e60eaa87a5fb8276233c4e (patch) | |
| tree | 33335d1c861b01039e13b6e94be214e1b284eb6a /app/helpers/node_actions_helper.rb | |
| parent | 833c59abf109943e857f64e526f6434e095242d6 (diff) | |
Witness account creation
Diffstat (limited to 'app/helpers/node_actions_helper.rb')
| -rw-r--r-- | app/helpers/node_actions_helper.rb | 10 |
1 files changed, 8 insertions, 2 deletions
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 | |||
| 19 | "otp_enroll" => "shield-lock", | 19 | "otp_enroll" => "shield-lock", |
| 20 | "otp_disable" => "shield-off", | 20 | "otp_disable" => "shield-off", |
| 21 | "otp_reset" => "shield-x", | 21 | "otp_reset" => "shield-x", |
| 22 | "user_create" => "user-plus", | ||
| 22 | "user_deactivate" => "user-off", | 23 | "user_deactivate" => "user-off", |
| 23 | "user_reactivate" => "user-check", | 24 | "user_reactivate" => "user-check", |
| 24 | "redaktion_grant" => "user-plus", | 25 | "redaktion_grant" => "users-plus", |
| 25 | "redaktion_revoke" => "user-minus" | 26 | "redaktion_revoke" => "users-minus" |
| 26 | }.freeze | 27 | }.freeze |
| 27 | 28 | ||
| 28 | def verb_icon action | 29 | def verb_icon action |
| @@ -295,4 +296,9 @@ module NodeActionsHelper | |||
| 295 | t("node_actions.redaktion_revoke", :actor => actor_ref(action), | 296 | t("node_actions.redaktion_revoke", :actor => actor_ref(action), |
| 296 | :target => user_participant_ref(action)).html_safe | 297 | :target => user_participant_ref(action)).html_safe |
| 297 | end | 298 | end |
| 299 | |||
| 300 | def summarize_user_create action | ||
| 301 | t("node_actions.user_create", :actor => actor_ref(action), | ||
| 302 | :target => user_participant_ref(action)).html_safe | ||
| 303 | end | ||
| 298 | end | 304 | end |
