Add missing case for :member_approved in email member activity
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
0e7ff25333
commit
07b2447a07
@ -32,6 +32,12 @@
|
|||||||
profile: "<b>#{Mobilizon.Actors.Actor.display_name_and_username(@activity.author)}</b>"
|
profile: "<b>#{Mobilizon.Actors.Actor.display_name_and_username(@activity.author)}</b>"
|
||||||
})
|
})
|
||||||
|> raw %>
|
|> raw %>
|
||||||
|
<% :member_approved -> %>
|
||||||
|
<%= dgettext("activity", "%{profile} approved the member %{member}.", %{
|
||||||
|
member: "<b>#{@activity.subject_params["member_actor_name"]}</b>",
|
||||||
|
profile: "<b>#{Mobilizon.Actors.Actor.display_name_and_username(@activity.author)}</b>"
|
||||||
|
})
|
||||||
|
|> raw %>
|
||||||
<% :member_updated -> %>
|
<% :member_updated -> %>
|
||||||
<%= dgettext("activity", "%{profile} updated the member %{member}.", %{
|
<%= dgettext("activity", "%{profile} updated the member %{member}.", %{
|
||||||
member: "<b>#{@activity.subject_params["member_actor_name"]}</b>",
|
member: "<b>#{@activity.subject_params["member_actor_name"]}</b>",
|
||||||
|
@ -30,6 +30,12 @@
|
|||||||
profile: Mobilizon.Actors.Actor.display_name_and_username(@activity.author),
|
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_updated -> %><%= dgettext("activity", "%{profile} updated the member %{member}.",
|
||||||
%{
|
%{
|
||||||
member: @activity.subject_params["member_actor_name"],
|
member: @activity.subject_params["member_actor_name"],
|
||||||
|
Loading…
Reference in New Issue
Block a user