forked from potsda.mn/mobilizon
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>"
|
||||
})
|
||||
|> 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 -> %>
|
||||
<%= dgettext("activity", "%{profile} updated the member %{member}.", %{
|
||||
member: "<b>#{@activity.subject_params["member_actor_name"]}</b>",
|
||||
|
|
|
@ -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"],
|
||||
|
|
Loading…
Reference in a new issue