diff --git a/lib/web/templates/email/activity/_member_activity_item.html.heex b/lib/web/templates/email/activity/_member_activity_item.html.heex index ae34bfdd..80702320 100644 --- a/lib/web/templates/email/activity/_member_activity_item.html.heex +++ b/lib/web/templates/email/activity/_member_activity_item.html.heex @@ -32,6 +32,12 @@ profile: "#{Mobilizon.Actors.Actor.display_name_and_username(@activity.author)}" }) |> raw %> + <% :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)}" + }) + |> raw %> <% :member_updated -> %> <%= dgettext("activity", "%{profile} updated the member %{member}.", %{ member: "#{@activity.subject_params["member_actor_name"]}", diff --git a/lib/web/templates/email/activity/_member_activity_item.text.eex b/lib/web/templates/email/activity/_member_activity_item.text.eex index 985b2122..fa1d676a 100644 --- a/lib/web/templates/email/activity/_member_activity_item.text.eex +++ b/lib/web/templates/email/activity/_member_activity_item.text.eex @@ -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"],