Add missing case for :member_approved in email member activity

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel
2022-08-28 10:53:52 +02:00
parent 0e7ff25333
commit 07b2447a07
2 changed files with 12 additions and 0 deletions

View File

@@ -30,6 +30,12 @@
profile: Mobilizon.Actors.Actor.display_name_and_username(@activity.author),
}
) %>
<% :member_approved -> %><%= dgettext("activity", "%{profile} approved the member %{member}.",
%{
member: @activity.subject_params["member_actor_name"],
profile: Mobilizon.Actors.Actor.display_name_and_username(@activity.author),
}
) %>
<% :member_updated -> %><%= dgettext("activity", "%{profile} updated the member %{member}.",
%{
member: @activity.subject_params["member_actor_name"],