correct lint-elixir
This commit is contained in:
@@ -1,34 +1,34 @@
|
||||
<%= case @activity.subject do %>
|
||||
<% :event_comment_mention -> %>
|
||||
<%= dgettext("activity", "%{profile} mentionned you in a comment under event %{event}.", %{
|
||||
{dgettext("activity", "%{profile} mentionned you in a comment under event %{event}.", %{
|
||||
profile: "<b>#{escaped_display_name_and_username(@activity.author)}</b>",
|
||||
event:
|
||||
"<a href=\"#{~p"/events/#{@activity.subject_params["event_uuid"]}" |> url() |> URI.decode()}\">
|
||||
#{escape_html(@activity.subject_params["event_title"])}
|
||||
</a>"
|
||||
})
|
||||
|> raw %>
|
||||
|> raw}
|
||||
<% :participation_event_comment -> %>
|
||||
<%= dgettext("activity", "%{profile} has posted an announcement under event %{event}.", %{
|
||||
{dgettext("activity", "%{profile} has posted an announcement under event %{event}.", %{
|
||||
profile: "<b>#{escaped_display_name_and_username(@activity.author)}</b>",
|
||||
event:
|
||||
"<a href=\"#{~p"/events/#{@activity.subject_params["event_uuid"]}" |> url() |> URI.decode()}\">
|
||||
#{escape_html(@activity.subject_params["event_title"])}
|
||||
</a>"
|
||||
})
|
||||
|> raw %>
|
||||
|> raw}
|
||||
<% :event_new_comment -> %>
|
||||
<%= if @activity.subject_params["comment_reply_to"] do %>
|
||||
<%= dgettext("activity", "%{profile} has posted a new reply under your event %{event}.", %{
|
||||
{dgettext("activity", "%{profile} has posted a new reply under your event %{event}.", %{
|
||||
profile: "<b>#{escaped_display_name_and_username(@activity.author)}</b>",
|
||||
event:
|
||||
"<a href=\"#{~p"/events/#{@activity.subject_params["event_uuid"]}" |> url() |> URI.decode()}#comment-#{@activity.subject_params["comment_reply_to_uuid"]}-#{@activity.subject_params["comment_uuid"]}\">
|
||||
#{escape_html(@activity.subject_params["event_title"])}
|
||||
</a>"
|
||||
})
|
||||
|> raw %>
|
||||
|> raw}
|
||||
<% else %>
|
||||
<%= dgettext(
|
||||
{dgettext(
|
||||
"activity",
|
||||
"%{profile} has posted a new comment under your event %{event}.",
|
||||
%{
|
||||
@@ -39,6 +39,6 @@
|
||||
</a>"
|
||||
}
|
||||
)
|
||||
|> raw %>
|
||||
|> raw}
|
||||
<% end %>
|
||||
<% end %>
|
||||
|
||||
@@ -1,16 +1,16 @@
|
||||
<%= case @activity.subject do %>
|
||||
<% :conversation_created -> %>
|
||||
<%= dgettext("activity", "%{profile} mentionned you in a %{conversation}.", %{
|
||||
{dgettext("activity", "%{profile} mentionned you in a %{conversation}.", %{
|
||||
profile: "<b>#{escaped_display_name_and_username(@activity.author)}</b>",
|
||||
conversation:
|
||||
"<a href=\"#{~p"/conversations/#{@activity.subject_params["conversation_participant_id"]}" |> url() |> URI.decode()}\">conversation</a>"
|
||||
})
|
||||
|> raw %>
|
||||
|> raw}
|
||||
<% :conversation_replied -> %>
|
||||
<%= dgettext("activity", "%{profile} replied you in a %{conversation}.", %{
|
||||
{dgettext("activity", "%{profile} replied you in a %{conversation}.", %{
|
||||
profile: "<b>#{escaped_display_name_and_username(@activity.author)}</b>",
|
||||
conversation:
|
||||
"<a href=\"#{~p"/conversations/#{@activity.subject_params["conversation_participant_id"]}" |> url() |> URI.decode()}\">conversation</a>"
|
||||
})
|
||||
|> raw %>
|
||||
|> raw}
|
||||
<% end %>
|
||||
|
||||
@@ -1,40 +1,40 @@
|
||||
<%= case @activity.subject do %>
|
||||
<% :discussion_created -> %>
|
||||
<%= dgettext("activity", "%{profile} created the discussion %{discussion}.", %{
|
||||
{dgettext("activity", "%{profile} created the discussion %{discussion}.", %{
|
||||
profile: "<b>#{escaped_display_name_and_username(@activity.author)}</b>",
|
||||
discussion:
|
||||
"<a href=\"#{~p"/#{Mobilizon.Actors.Actor.preferred_username_and_domain(@activity.group)}/c/#{@activity.subject_params["discussion_slug"]}" |> url() |> URI.decode()}\">
|
||||
#{escape_html(@activity.subject_params["discussion_title"])}</a>"
|
||||
})
|
||||
|> raw %>
|
||||
|> raw}
|
||||
<% :discussion_replied -> %>
|
||||
<%= dgettext("activity", "%{profile} replied to the discussion %{discussion}.", %{
|
||||
{dgettext("activity", "%{profile} replied to the discussion %{discussion}.", %{
|
||||
profile: "<b>#{escaped_display_name_and_username(@activity.author)}</b>",
|
||||
discussion:
|
||||
"<a href=\"#{~p"/#{Mobilizon.Actors.Actor.preferred_username_and_domain(@activity.group)}/c/#{@activity.subject_params["discussion_slug"]}" |> url() |> URI.decode()}\">
|
||||
#{escape_html(@activity.subject_params["discussion_title"])}</a>"
|
||||
})
|
||||
|> raw %>
|
||||
|> raw}
|
||||
<% :discussion_renamed -> %>
|
||||
<%= dgettext("activity", "%{profile} renamed the discussion %{discussion}.", %{
|
||||
{dgettext("activity", "%{profile} renamed the discussion %{discussion}.", %{
|
||||
profile: "<b>#{escaped_display_name_and_username(@activity.author)}</b>",
|
||||
discussion:
|
||||
"<a href=\"#{~p"/#{Mobilizon.Actors.Actor.preferred_username_and_domain(@activity.group)}/c/#{@activity.subject_params["discussion_slug"]}" |> url() |> URI.decode()}\">
|
||||
#{escape_html(@activity.subject_params["discussion_title"])}</a>"
|
||||
})
|
||||
|> raw %>
|
||||
|> raw}
|
||||
<% :discussion_archived -> %>
|
||||
<%= dgettext("activity", "%{profile} archived the discussion %{discussion}.", %{
|
||||
{dgettext("activity", "%{profile} archived the discussion %{discussion}.", %{
|
||||
profile: "<b>#{escaped_display_name_and_username(@activity.author)}</b>",
|
||||
discussion:
|
||||
"<a href=\"#{~p"/#{Mobilizon.Actors.Actor.preferred_username_and_domain(@activity.group)}/c/#{@activity.subject_params["discussion_slug"]}" |> url() |> URI.decode()}\">
|
||||
#{escape_html(@activity.subject_params["discussion_title"])}</a>"
|
||||
})
|
||||
|> raw %>
|
||||
|> raw}
|
||||
<% :discussion_deleted -> %>
|
||||
<%= dgettext("activity", "%{profile} deleted the discussion %{discussion}.", %{
|
||||
{dgettext("activity", "%{profile} deleted the discussion %{discussion}.", %{
|
||||
profile: "<b>#{escaped_display_name_and_username(@activity.author)}</b>",
|
||||
discussion: "<b>#{escape_html(@activity.subject_params["discussion_title"])}</b>"
|
||||
})
|
||||
|> raw %>
|
||||
|> raw}
|
||||
<% end %>
|
||||
|
||||
@@ -1,53 +1,53 @@
|
||||
<%= case @activity.subject do %>
|
||||
<% :event_created -> %>
|
||||
<%= dgettext("activity", "The event %{event} was created by %{profile}.", %{
|
||||
{dgettext("activity", "The event %{event} was created by %{profile}.", %{
|
||||
profile: "<b>#{escaped_display_name_and_username(@activity.author)}</b>",
|
||||
event:
|
||||
"<a href=\"#{~p"/events/#{@activity.subject_params["event_uuid"]}" |> url() |> URI.decode()}\">
|
||||
#{escape_html(@activity.subject_params["event_title"])}
|
||||
</a>"
|
||||
})
|
||||
|> raw %>
|
||||
|> raw}
|
||||
<% :event_updated -> %>
|
||||
<%= dgettext("activity", "The event %{event} was updated by %{profile}.", %{
|
||||
{dgettext("activity", "The event %{event} was updated by %{profile}.", %{
|
||||
profile: "<b>#{escaped_display_name_and_username(@activity.author)}</b>",
|
||||
event:
|
||||
"<a href=\"#{~p"/events/#{@activity.subject_params["event_uuid"]}" |> url() |> URI.decode()}\">
|
||||
#{escape_html(@activity.subject_params["event_title"])}
|
||||
</a>"
|
||||
})
|
||||
|> raw %>
|
||||
|> raw}
|
||||
<% :event_deleted -> %>
|
||||
<%= dgettext("activity", "The event %{event} was deleted by %{profile}.", %{
|
||||
{dgettext("activity", "The event %{event} was deleted by %{profile}.", %{
|
||||
profile: "<b>#{escaped_display_name_and_username(@activity.author)}</b>",
|
||||
event: "<b>#{escape_html(@activity.subject_params["event_title"])}</b>"
|
||||
})
|
||||
|> raw %>
|
||||
|> raw}
|
||||
<% :comment_posted -> %>
|
||||
<%= if @activity.subject_params["comment_reply_to"] do %>
|
||||
<%= dgettext("activity", "%{profile} replied to a comment on the event %{event}.", %{
|
||||
{dgettext("activity", "%{profile} replied to a comment on the event %{event}.", %{
|
||||
profile: "<b>#{escaped_display_name_and_username(@activity.author)}</b>",
|
||||
event:
|
||||
"<a href=\"#{~p"/events/#{@activity.subject_params["event_uuid"]}" |> url() |> URI.decode()}\">
|
||||
#{escape_html(@activity.subject_params["event_title"])}
|
||||
</a>"
|
||||
})
|
||||
|> raw %>
|
||||
|> raw}
|
||||
<% else %>
|
||||
<%= dgettext("activity", "%{profile} posted a comment on the event %{event}.", %{
|
||||
{dgettext("activity", "%{profile} posted a comment on the event %{event}.", %{
|
||||
profile: "<b>#{escaped_display_name_and_username(@activity.author)}</b>",
|
||||
event:
|
||||
"<a href=\"#{~p"/events/#{@activity.subject_params["event_uuid"]}" |> url() |> URI.decode()}\">
|
||||
#{escape_html(@activity.subject_params["event_title"])}
|
||||
</a>"
|
||||
})
|
||||
|> raw %>
|
||||
|> raw}
|
||||
<% end %>
|
||||
<% :event_new_participation -> %>
|
||||
<%= dgettext("activity", "%{profile} joined your event %{event}.", %{
|
||||
{dgettext("activity", "%{profile} joined your event %{event}.", %{
|
||||
profile: "<b>#{escaped_display_name_and_username(@activity.author)}</b>",
|
||||
event:
|
||||
"<a href=\"#{~p"/events/#{@activity.subject_params["event_uuid"]}" |> url() |> URI.decode()}\">#{escape_html(@activity.subject_params["event_title"])}</a>"
|
||||
})
|
||||
|> raw %>
|
||||
|> raw}
|
||||
<% end %>
|
||||
|
||||
@@ -1,20 +1,20 @@
|
||||
<%= case @activity.subject do %>
|
||||
<% :group_created -> %>
|
||||
<%= dgettext("activity", "%{profile} created the group %{group}.", %{
|
||||
{dgettext("activity", "%{profile} created the group %{group}.", %{
|
||||
profile: "<b>#{escaped_display_name_and_username(@activity.author)}</b>",
|
||||
group:
|
||||
"<a href=\"#{~p"/@#{@activity.subject_params["group_federated_username"]}" |> url() |> URI.decode()}\">
|
||||
#{escape_html(@activity.subject_params["group_name"])}
|
||||
</a>"
|
||||
})
|
||||
|> raw %>
|
||||
|> raw}
|
||||
<% :group_updated -> %>
|
||||
<%= dgettext("activity", "%{profile} updated the group %{group}.", %{
|
||||
{dgettext("activity", "%{profile} updated the group %{group}.", %{
|
||||
profile: "<b>#{escaped_display_name_and_username(@activity.author)}</b>",
|
||||
group:
|
||||
"<a href=\"#{~p"/@#{@activity.subject_params["group_federated_username"]}" |> url() |> URI.decode()}\">
|
||||
#{escape_html(@activity.subject_params["group_name"])}
|
||||
</a>"
|
||||
})
|
||||
|> raw %>
|
||||
|> raw}
|
||||
<% end %>
|
||||
|
||||
@@ -1,58 +1,58 @@
|
||||
<%= case @activity.subject do %>
|
||||
<% :member_request -> %>
|
||||
<%= dgettext("activity", "%{member} requested to join the group.", %{
|
||||
{dgettext("activity", "%{member} requested to join the group.", %{
|
||||
member: "<b>#{escape_html(@activity.subject_params["member_actor_name"])}</b>"
|
||||
})
|
||||
|> raw %>
|
||||
|> raw}
|
||||
<% :member_invited -> %>
|
||||
<%= dgettext("activity", "%{member} was invited by %{profile}.", %{
|
||||
{dgettext("activity", "%{member} was invited by %{profile}.", %{
|
||||
member: "<b>#{escape_html(@activity.subject_params["member_actor_name"])}</b>",
|
||||
profile: "<b>#{escaped_display_name_and_username(@activity.author)}</b>"
|
||||
})
|
||||
|> raw %>
|
||||
|> raw}
|
||||
<% :member_accepted_invitation -> %>
|
||||
<%= dgettext("activity", "%{member} accepted the invitation to join the group.", %{
|
||||
{dgettext("activity", "%{member} accepted the invitation to join the group.", %{
|
||||
member: "<b>#{escape_html(@activity.subject_params["member_actor_name"])}</b>"
|
||||
})
|
||||
|> raw %>
|
||||
|> raw}
|
||||
<% :member_rejected_invitation -> %>
|
||||
<%= dgettext("activity", "%{member} rejected the invitation to join the group.", %{
|
||||
{dgettext("activity", "%{member} rejected the invitation to join the group.", %{
|
||||
member: "<b>#{escape_html(@activity.subject_params["member_actor_name"])}</b>"
|
||||
})
|
||||
|> raw %>
|
||||
|> raw}
|
||||
<% :member_joined -> %>
|
||||
<%= dgettext("activity", "%{member} joined the group.", %{
|
||||
{dgettext("activity", "%{member} joined the group.", %{
|
||||
member:
|
||||
"<b title=\"#{@activity.subject_params["member_actor_federated_username"]}\">#{escape_html(@activity.subject_params["member_actor_name"])}</b>"
|
||||
})
|
||||
|> raw %>
|
||||
|> raw}
|
||||
<% :member_added -> %>
|
||||
<%= dgettext("activity", "%{profile} added the member %{member}.", %{
|
||||
{dgettext("activity", "%{profile} added the member %{member}.", %{
|
||||
member: "<b>#{escape_html(@activity.subject_params["member_actor_name"])}</b>",
|
||||
profile: "<b>#{escaped_display_name_and_username(@activity.author)}</b>"
|
||||
})
|
||||
|> raw %>
|
||||
|> raw}
|
||||
<% :member_approved -> %>
|
||||
<%= dgettext("activity", "%{profile} approved the member %{member}.", %{
|
||||
{dgettext("activity", "%{profile} approved the member %{member}.", %{
|
||||
member: "<b>#{escape_html(@activity.subject_params["member_actor_name"])}</b>",
|
||||
profile: "<b>#{escaped_display_name_and_username(@activity.author)}</b>"
|
||||
})
|
||||
|> raw %>
|
||||
|> raw}
|
||||
<% :member_updated -> %>
|
||||
<%= dgettext("activity", "%{profile} updated the member %{member}.", %{
|
||||
{dgettext("activity", "%{profile} updated the member %{member}.", %{
|
||||
member: "<b>#{escape_html(@activity.subject_params["member_actor_name"])}</b>",
|
||||
profile: "<b>#{escaped_display_name_and_username(@activity.author)}</b>"
|
||||
})
|
||||
|> raw %>
|
||||
|> raw}
|
||||
<% :member_removed -> %>
|
||||
<%= dgettext("activity", "%{profile} excluded member %{member}.", %{
|
||||
{dgettext("activity", "%{profile} excluded member %{member}.", %{
|
||||
member: "<b>#{@activity.subject_params["member_actor_name"]}</b>",
|
||||
profile: "<b>#{escaped_display_name_and_username(@activity.author)}</b>"
|
||||
})
|
||||
|> raw %>
|
||||
|> raw}
|
||||
<% :member_quit -> %>
|
||||
<%= dgettext("activity", "%{profile} quit the group.", %{
|
||||
{dgettext("activity", "%{profile} quit the group.", %{
|
||||
profile: "<b>#{escaped_display_name_and_username(@activity.author)}</b>"
|
||||
})
|
||||
|> raw %>
|
||||
|> raw}
|
||||
<% end %>
|
||||
|
||||
@@ -1,26 +1,26 @@
|
||||
<%= case @activity.subject do %>
|
||||
<% :post_created -> %>
|
||||
<%= dgettext("activity", "The post %{post} was created by %{profile}.", %{
|
||||
{dgettext("activity", "The post %{post} was created by %{profile}.", %{
|
||||
profile: "<b>#{escaped_display_name_and_username(@activity.author)}</b>",
|
||||
post:
|
||||
"<a href=\"#{~p"/p/#{@activity.subject_params["post_slug"]}" |> url() |> URI.decode()}\">
|
||||
#{escape_html(@activity.subject_params["post_title"])}
|
||||
</a>"
|
||||
})
|
||||
|> raw %>
|
||||
|> raw}
|
||||
<% :post_updated -> %>
|
||||
<%= dgettext("activity", "The post %{post} was updated by %{profile}.", %{
|
||||
{dgettext("activity", "The post %{post} was updated by %{profile}.", %{
|
||||
profile: "<b>#{escaped_display_name_and_username(@activity.author)}</b>",
|
||||
post:
|
||||
"<a href=\"#{~p"/p/#{@activity.subject_params["post_slug"]}" |> url() |> URI.decode()}\">
|
||||
#{escape_html(@activity.subject_params["post_title"])}
|
||||
</a>"
|
||||
})
|
||||
|> raw %>
|
||||
|> raw}
|
||||
<% :post_deleted -> %>
|
||||
<%= dgettext("activity", "The post %{post} was deleted by %{profile}.", %{
|
||||
{dgettext("activity", "The post %{post} was deleted by %{profile}.", %{
|
||||
profile: "<b>#{escaped_display_name_and_username(@activity.author)}</b>",
|
||||
post: "<b>#{escape_html(@activity.subject_params["post_title"])}</b>"
|
||||
})
|
||||
|> raw %>
|
||||
|> raw}
|
||||
<% end %>
|
||||
|
||||
@@ -1,27 +1,27 @@
|
||||
<%= case @activity.subject do %>
|
||||
<% :resource_created -> %>
|
||||
<%= if @activity.subject_params["is_folder"] do %>
|
||||
<%= dgettext("activity", "%{profile} created the folder %{resource}.", %{
|
||||
{dgettext("activity", "%{profile} created the folder %{resource}.", %{
|
||||
profile: "<b>#{escaped_display_name_and_username(@activity.author)}</b>",
|
||||
resource:
|
||||
"<a href=\"#{~p"/resource/#{@activity.subject_params["resource_uuid"]}" |> url() |> URI.decode()}\">
|
||||
#{escape_html(@activity.subject_params["resource_title"])}
|
||||
</a>"
|
||||
})
|
||||
|> raw %>
|
||||
|> raw}
|
||||
<% else %>
|
||||
<%= dgettext("activity", "%{profile} created the resource %{resource}.", %{
|
||||
{dgettext("activity", "%{profile} created the resource %{resource}.", %{
|
||||
profile: "<b>#{escaped_display_name_and_username(@activity.author)}</b>",
|
||||
resource:
|
||||
"<a href=\"#{~p"/resource/#{@activity.subject_params["resource_uuid"]}" |> url() |> URI.decode()}\">
|
||||
#{escape_html(@activity.subject_params["resource_title"])}
|
||||
</a>"
|
||||
})
|
||||
|> raw %>
|
||||
|> raw}
|
||||
<% end %>
|
||||
<% :resource_renamed -> %>
|
||||
<%= if @activity.subject_params["is_folder"] do %>
|
||||
<%= dgettext(
|
||||
{dgettext(
|
||||
"activity",
|
||||
"%{profile} renamed the folder from %{old_resource_title} to %{resource}.",
|
||||
%{
|
||||
@@ -34,9 +34,9 @@
|
||||
"<b>#{escape_html(@activity.subject_params["old_resource_title"])}</b>"
|
||||
}
|
||||
)
|
||||
|> raw %>
|
||||
|> raw}
|
||||
<% else %>
|
||||
<%= dgettext(
|
||||
{dgettext(
|
||||
"activity",
|
||||
"%{profile} renamed the resource from %{old_resource_title} to %{resource}.",
|
||||
%{
|
||||
@@ -49,40 +49,40 @@
|
||||
"<b>#{escape_html(@activity.subject_params["old_resource_title"])}</b>"
|
||||
}
|
||||
)
|
||||
|> raw %>
|
||||
|> raw}
|
||||
<% end %>
|
||||
<% :resource_moved -> %>
|
||||
<%= if @activity.subject_params["is_folder"] do %>
|
||||
<%= dgettext("activity", "%{profile} moved the folder %{resource}.", %{
|
||||
{dgettext("activity", "%{profile} moved the folder %{resource}.", %{
|
||||
profile: "<b>#{escaped_display_name_and_username(@activity.author)}</b>",
|
||||
resource:
|
||||
"<a href=\"#{~p"/resource/#{@activity.subject_params["resource_uuid"]}" |> url() |> URI.decode()}\">
|
||||
#{escape_html(@activity.subject_params["resource_title"])}
|
||||
</a>"
|
||||
})
|
||||
|> raw %>
|
||||
|> raw}
|
||||
<% else %>
|
||||
<%= dgettext("activity", "%{profile} moved the resource %{resource}.", %{
|
||||
{dgettext("activity", "%{profile} moved the resource %{resource}.", %{
|
||||
profile: "<b>#{escaped_display_name_and_username(@activity.author)}</b>",
|
||||
resource:
|
||||
"<a href=\"#{~p"/resource/#{@activity.subject_params["resource_uuid"]}" |> url() |> URI.decode()}\">
|
||||
#{escape_html(@activity.subject_params["resource_title"])}
|
||||
</a>"
|
||||
})
|
||||
|> raw %>
|
||||
|> raw}
|
||||
<% end %>
|
||||
<% :resource_deleted -> %>
|
||||
<%= if @activity.subject_params["is_folder"] do %>
|
||||
<%= dgettext("activity", "%{profile} deleted the folder %{resource}.", %{
|
||||
{dgettext("activity", "%{profile} deleted the folder %{resource}.", %{
|
||||
profile: "<b>#{escaped_display_name_and_username(@activity.author)}</b>",
|
||||
resource: "<b>#{escape_html(@activity.subject_params["resource_title"])}</b>"
|
||||
})
|
||||
|> raw %>
|
||||
|> raw}
|
||||
<% else %>
|
||||
<%= dgettext("activity", "%{profile} deleted the resource %{resource}.", %{
|
||||
{dgettext("activity", "%{profile} deleted the resource %{resource}.", %{
|
||||
profile: "<b>#{escaped_display_name_and_username(@activity.author)}</b>",
|
||||
resource: "<b>#{escape_html(@activity.subject_params["resource_title"])}</b>"
|
||||
})
|
||||
|> raw %>
|
||||
|> raw}
|
||||
<% end %>
|
||||
<% end %>
|
||||
|
||||
@@ -15,10 +15,10 @@
|
||||
style="padding: 40px 20px 20px 20px; border-radius: 4px 4px 0px 0px; color: #3A384C; font-family: 'Roboto', Helvetica, Arial, sans-serif; font-size: 48px; font-weight: 400; line-height: 48px;"
|
||||
>
|
||||
<h1 style="font-size: 48px; font-weight: 400; margin: 0;">
|
||||
<%= gettext("Your participation to %{event} on %{instance} has been cancelled!",
|
||||
{gettext("Your participation to %{event} on %{instance} has been cancelled!",
|
||||
event: @event.title,
|
||||
instance: @instance_name
|
||||
) %>
|
||||
)}
|
||||
</h1>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -47,7 +47,7 @@
|
||||
style="padding: 20px 30px 0px 30px; color: #474467; font-family: 'Roboto', Helvetica, Arial, sans-serif; font-size: 18px; font-weight: 400; line-height: 25px;"
|
||||
>
|
||||
<p style="margin: 0;">
|
||||
<%= gettext(
|
||||
{gettext(
|
||||
"Your instance's moderation team has decided to suspend %{actor_name} (%{actor_address}). All of their events have been removed and your participation to event %{event} cancelled.",
|
||||
actor_name: @actor.name || @actor.preferred_username,
|
||||
event: @event.title,
|
||||
@@ -56,7 +56,7 @@
|
||||
do: "@#{@actor.preferred_username}@#{@actor.domain}",
|
||||
else: "@#{@actor.preferred_username}"
|
||||
)
|
||||
) %>
|
||||
)}
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
<%= case @role do %>
|
||||
<% :administrator -> %>
|
||||
<b><%= gettext("Administrator") %></b>
|
||||
<b>{gettext("Administrator")}</b>
|
||||
<% :moderator -> %>
|
||||
<b><%= gettext("Moderator") %></b>
|
||||
<b>{gettext("Moderator")}</b>
|
||||
<% :user -> %>
|
||||
<b><%= gettext("User") %></b>
|
||||
<b>{gettext("User")}</b>
|
||||
<% :pending -> %>
|
||||
<b><%= gettext("Pending") %></b>
|
||||
<b>{gettext("Pending")}</b>
|
||||
<% end %>
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
style="padding: 40px 20px 20px 20px; border-radius: 4px 4px 0px 0px; color: #3A384C; font-family: 'Roboto', Helvetica, Arial, sans-serif; font-size: 48px; font-weight: 400; line-height: 48px;"
|
||||
>
|
||||
<h1 style="font-size: 48px; font-weight: 400; margin: 0;">
|
||||
<%= gettext("An administrator manually confirmed your account") %>
|
||||
{gettext("An administrator manually confirmed your account")}
|
||||
</h1>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -44,11 +44,11 @@
|
||||
style="padding: 20px 30px 0px 30px; color: #474467; font-family: 'Roboto', Helvetica, Arial, sans-serif; font-size: 18px; font-weight: 400; line-height: 25px;"
|
||||
>
|
||||
<p style="margin: 0;">
|
||||
<%= gettext(
|
||||
{gettext(
|
||||
"Hi there! We just wanted to inform you that an administrator from <b>%{instance}</b> just manually confirmed your account.",
|
||||
%{instance: @instance_name}
|
||||
)
|
||||
|> raw %>
|
||||
|> raw}
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -59,7 +59,7 @@
|
||||
style="padding: 20px 30px 0px 30px; color: #474467; font-family: 'Roboto', Helvetica, Arial, sans-serif; font-size: 18px; font-weight: 400; line-height: 25px;"
|
||||
>
|
||||
<p style="margin: 0;">
|
||||
<%= gettext("You may now login using your credentials on the service.") %>
|
||||
{gettext("You may now login using your credentials on the service.")}
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -76,7 +76,7 @@
|
||||
target="_blank"
|
||||
style="font-size: 20px; font-family: Helvetica, Arial, sans-serif; color: #ffffff; text-decoration: none; padding: 15px 25px; border-radius: 2px; border: 1px solid #3C376E; display: inline-block;"
|
||||
>
|
||||
<%= gettext("Login on %{instance}", %{instance: @instance_name}) %>
|
||||
{gettext("Login on %{instance}", %{instance: @instance_name})}
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -93,14 +93,14 @@
|
||||
style="padding: 20px 30px 40px 30px; color: #474467; font-family: 'Roboto', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: 400; line-height: 20px;"
|
||||
>
|
||||
<p style="margin: 0">
|
||||
<%= gettext(
|
||||
{gettext(
|
||||
"If something doesn't feel right to you, please contact the instance administrator through the contact methods %{start_link}on the instance's about page%{end_link}.",
|
||||
%{
|
||||
start_link: "<a href=\"#{Mobilizon.Web.Endpoint.url()}/about/instance\">",
|
||||
end_link: "</a>"
|
||||
}
|
||||
)
|
||||
|> raw %>
|
||||
|> raw}
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
style="padding: 40px 20px 20px 20px; border-radius: 4px 4px 0px 0px; color: #3A384C; font-family: 'Roboto', Helvetica, Arial, sans-serif; font-size: 48px; font-weight: 400; line-height: 48px;"
|
||||
>
|
||||
<h1 style="font-size: 48px; font-weight: 400; margin: 0;">
|
||||
<%= gettext("An administrator manually changed the email attached to your account") %>
|
||||
{gettext("An administrator manually changed the email attached to your account")}
|
||||
</h1>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -44,11 +44,11 @@
|
||||
style="padding: 20px 30px 0px 30px; color: #474467; font-family: 'Roboto', Helvetica, Arial, sans-serif; font-size: 18px; font-weight: 400; line-height: 25px;"
|
||||
>
|
||||
<p style="margin: 0;">
|
||||
<%= gettext(
|
||||
{gettext(
|
||||
"Hi there! We just wanted to inform you that an administrator from <b>%{instance}</b> just manually changed your account email from <b>%{old_email}</b> to <b>%{new_email}</b> (this one).",
|
||||
%{instance: @instance_name, old_email: @old_email, new_email: @new_email}
|
||||
)
|
||||
|> raw %>
|
||||
|> raw}
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -59,14 +59,14 @@
|
||||
style="padding: 20px 30px 40px 30px; color: #474467; font-family: 'Roboto', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: 400; line-height: 20px;"
|
||||
>
|
||||
<p style="margin: 0">
|
||||
<%= gettext(
|
||||
{gettext(
|
||||
"If something doesn't feel right to you, please contact the instance administrator through the contact methods %{start_link}on the instance's about page%{end_link}.",
|
||||
%{
|
||||
start_link: "<a href=\"#{Mobilizon.Web.Endpoint.url()}/about/instance\">",
|
||||
end_link: "</a>"
|
||||
}
|
||||
)
|
||||
|> raw %>
|
||||
|> raw}
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
style="padding: 40px 20px 20px 20px; border-radius: 4px 4px 0px 0px; color: #3A384C; font-family: 'Roboto', Helvetica, Arial, sans-serif; font-size: 48px; font-weight: 400; line-height: 48px;"
|
||||
>
|
||||
<h1 style="font-size: 48px; font-weight: 400; margin: 0;">
|
||||
<%= gettext("An administrator manually changed the email attached to your account") %>
|
||||
{gettext("An administrator manually changed the email attached to your account")}
|
||||
</h1>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -44,11 +44,11 @@
|
||||
style="padding: 20px 30px 0px 30px; color: #474467; font-family: 'Roboto', Helvetica, Arial, sans-serif; font-size: 18px; font-weight: 400; line-height: 25px;"
|
||||
>
|
||||
<p style="margin: 0;">
|
||||
<%= gettext(
|
||||
{gettext(
|
||||
"Hi there! We just wanted to inform you that an administrator from <b>%{instance}</b> just manually changed your account email from <b>%{old_email}</b> (this one) to <b>%{new_email}</b>.",
|
||||
%{instance: @instance_name, old_email: @old_email, new_email: @new_email}
|
||||
)
|
||||
|> raw %>
|
||||
|> raw}
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -59,14 +59,14 @@
|
||||
style="padding: 20px 30px 40px 30px; color: #474467; font-family: 'Roboto', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: 400; line-height: 20px;"
|
||||
>
|
||||
<p style="margin: 0">
|
||||
<%= gettext(
|
||||
{gettext(
|
||||
"If something doesn't feel right to you, please contact the instance administrator through the contact methods %{start_link}on the instance's about page%{end_link}.",
|
||||
%{
|
||||
start_link: "<a href=\"#{Mobilizon.Web.Endpoint.url()}/about/instance\">",
|
||||
end_link: "</a>"
|
||||
}
|
||||
)
|
||||
|> raw %>
|
||||
|> raw}
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
style="padding: 40px 20px 20px 20px; border-radius: 4px 4px 0px 0px; color: #3A384C; font-family: 'Roboto', Helvetica, Arial, sans-serif; font-size: 48px; font-weight: 400; line-height: 48px;"
|
||||
>
|
||||
<h1 style="font-size: 48px; font-weight: 400; margin: 0;">
|
||||
<%= gettext("An administrator changed your role") %>
|
||||
{gettext("An administrator changed your role")}
|
||||
</h1>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -44,11 +44,11 @@
|
||||
style="padding: 20px 30px 0px 30px; color: #474467; font-family: 'Roboto', Helvetica, Arial, sans-serif; font-size: 18px; font-weight: 400; line-height: 25px;"
|
||||
>
|
||||
<p style="margin: 0;">
|
||||
<%= gettext(
|
||||
{gettext(
|
||||
"Hi there! We just wanted to inform you that an administrator from <b>%{instance}</b> just changed your account role.",
|
||||
%{instance: @instance_name}
|
||||
)
|
||||
|> raw %>
|
||||
|> raw}
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -61,18 +61,18 @@
|
||||
<table width="100%">
|
||||
<tr>
|
||||
<td bgcolor="#ffffff" align="left">
|
||||
<%= gettext("Old role") %>
|
||||
{gettext("Old role")}
|
||||
</td>
|
||||
<td bgcolor="#ffffff" align="left">
|
||||
<%= render("admin/_role.html", role: @old_role) %>
|
||||
{render("admin/_role.html", role: @old_role)}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td bgcolor="#ffffff" align="left">
|
||||
<%= gettext("New role") %>
|
||||
{gettext("New role")}
|
||||
</td>
|
||||
<td bgcolor="#ffffff" align="left">
|
||||
<%= render("admin/_role.html", role: @new_role) %>
|
||||
{render("admin/_role.html", role: @new_role)}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
@@ -85,14 +85,14 @@
|
||||
style="padding: 20px 30px 40px 30px; color: #474467; font-family: 'Roboto', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: 400; line-height: 20px;"
|
||||
>
|
||||
<p style="margin: 0">
|
||||
<%= gettext(
|
||||
{gettext(
|
||||
"If something doesn't feel right to you, please contact the instance administrator through the contact methods %{start_link}on the instance's about page%{end_link}.",
|
||||
%{
|
||||
start_link: "<a href=\"#{Mobilizon.Web.Endpoint.url()}/about/instance\">",
|
||||
end_link: "</a>"
|
||||
}
|
||||
)
|
||||
|> raw %>
|
||||
|> raw}
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
style="padding: 40px 20px 20px 20px; border-radius: 4px 4px 0px 0px; color: #3A384C; font-family: 'Roboto', Helvetica, Arial, sans-serif; font-size: 48px; font-weight: 400; line-height: 48px;"
|
||||
>
|
||||
<h1 style="font-size: 48px; font-weight: 400; margin: 0;">
|
||||
<%= gettext("Confirm your e-mail") %>
|
||||
{gettext("Confirm your e-mail")}
|
||||
</h1>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -44,11 +44,11 @@
|
||||
style="padding: 20px 30px 0px 30px; color: #474467; font-family: 'Roboto', Helvetica, Arial, sans-serif; font-size: 18px; font-weight: 400; line-height: 25px;"
|
||||
>
|
||||
<p style="margin: 0;">
|
||||
<%= gettext(
|
||||
{gettext(
|
||||
"Hi there! You just registered to join this event: « <b>%{title}</b> ». Please confirm the e-mail address you provided:",
|
||||
title: escape_html(@participant.event.title)
|
||||
)
|
||||
|> raw %>
|
||||
|> raw}
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -70,7 +70,7 @@
|
||||
target="_blank"
|
||||
style="font-size: 20px; font-family: 'Roboto', Helvetica, Arial, sans-serif; color: #ffffff; text-decoration: none; padding: 15px 25px; border-radius: 2px; border: 1px solid #3C376E; display: inline-block;"
|
||||
>
|
||||
<%= gettext("Confirm my e-mail address") %>
|
||||
{gettext("Confirm my e-mail address")}
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -87,9 +87,7 @@
|
||||
style="padding: 20px 30px 40px 30px; color: #474467; font-family: 'Roboto', Helvetica, Arial, sans-serif; font-size: 18px; font-weight: 400; line-height: 25px;"
|
||||
>
|
||||
<p style="margin: 0">
|
||||
<%= gettext(
|
||||
"If you wish to cancel your participation, simply click on the link below."
|
||||
) %>
|
||||
{gettext("If you wish to cancel your participation, simply click on the link below.")}
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -110,7 +108,7 @@
|
||||
target="_blank"
|
||||
style="font-size: 20px; font-family: 'Roboto', Helvetica, Arial, sans-serif; color: #3C376E; text-decoration: none; padding: 15px 25px; border-radius: 2px; border: 1px solid #3C376E; display: inline-block;"
|
||||
>
|
||||
<%= gettext("Cancel my attendance") %>
|
||||
{gettext("Cancel my attendance")}
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -127,7 +125,7 @@
|
||||
style="padding: 20px 30px 40px 30px; color: #757199; font-family: 'Roboto', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: 400; line-height: 20px;"
|
||||
>
|
||||
<p style="margin: 0">
|
||||
<%= gettext("If you didn't trigger this email, you may safely ignore it.") %>
|
||||
{gettext("If you didn't trigger this email, you may safely ignore it.")}
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
style="padding: 40px 20px 20px 20px; border-radius: 4px 4px 0px 0px; color: #3A384C; font-family: 'Roboto', Helvetica, Arial, sans-serif; font-size: 48px; font-weight: 400; line-height: 48px;"
|
||||
>
|
||||
<h1 style="font-size: 48px; font-weight: 400; margin: 0;">
|
||||
<%= gettext("An event is upcoming!") %>
|
||||
{gettext("An event is upcoming!")}
|
||||
</h1>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -44,7 +44,7 @@
|
||||
style="padding: 20px 30px 0px 30px; color: #474467; font-family: 'Roboto', Helvetica, Arial, sans-serif; font-size: 18px; font-weight: 400; line-height: 25px;"
|
||||
>
|
||||
<p style="margin: 0;">
|
||||
<%= gettext("Get ready for %{title}", title: @participant.event.title) %>
|
||||
{gettext("Get ready for %{title}", title: @participant.event.title)}
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -62,7 +62,7 @@
|
||||
target="_blank"
|
||||
style="font-size: 20px; font-family: Helvetica, Arial, sans-serif; color: #ffffff; text-decoration: none; padding: 15px 25px; border-radius: 2px; border: 1px solid #3C376E; display: inline-block;"
|
||||
>
|
||||
<%= gettext("Go to event page") %>
|
||||
{gettext("Go to event page")}
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -79,9 +79,9 @@
|
||||
style="padding: 20px 30px 40px 30px; color: #474467; font-family: 'Roboto', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: 400; line-height: 20px;"
|
||||
>
|
||||
<p style="margin: 0">
|
||||
<%= gettext(
|
||||
{gettext(
|
||||
"If you wish to cancel your attendance, visit the event page through the link above and click the « Attending » button."
|
||||
) %>
|
||||
)}
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
@@ -1,21 +1,21 @@
|
||||
<%= if @event.options.timezone == nil do %>
|
||||
<%= @date |> datetime_tz_convert(@timezone) |> datetime_to_string(@locale, :short) %>
|
||||
{@date |> datetime_tz_convert(@timezone) |> datetime_to_string(@locale, :short)}
|
||||
<% else %>
|
||||
<strong>
|
||||
<%= @date
|
||||
{@date
|
||||
|> datetime_tz_convert(@event.options.timezone)
|
||||
|> datetime_to_string(@locale, :short) %>
|
||||
|> datetime_to_string(@locale, :short)}
|
||||
</strong>
|
||||
<br />
|
||||
<%= if @event.options.timezone != @timezone do %>
|
||||
<span style="font-size: 13px;">
|
||||
<%= gettext("🌐 %{timezone} %{offset}",
|
||||
{gettext("🌐 %{timezone} %{offset}",
|
||||
timezone: @event.options.timezone,
|
||||
offset:
|
||||
@date
|
||||
|> datetime_tz_convert(@event.options.timezone)
|
||||
|> Cldr.DateTime.Formatter.zone_gmt()
|
||||
) %>
|
||||
)}
|
||||
</span>
|
||||
<% end %>
|
||||
<% end %>
|
||||
|
||||
@@ -1,42 +1,42 @@
|
||||
<%= cond do %>
|
||||
<% @end_date == nil -> %>
|
||||
<%= render("date/event_tz_date.html",
|
||||
{render("date/event_tz_date.html",
|
||||
date: @start_date,
|
||||
event: @event,
|
||||
timezone: @timezone,
|
||||
locale: @locale
|
||||
) %>
|
||||
)}
|
||||
<% same_day?(@start_date, @end_date) -> %>
|
||||
<strong>
|
||||
<%= gettext("On %{date} from %{start_time} to %{end_time}",
|
||||
{gettext("On %{date} from %{start_time} to %{end_time}",
|
||||
date: datetime_to_date_string(@start_date, @locale),
|
||||
start_time: datetime_to_time_string(@start_date, @locale),
|
||||
end_time: datetime_to_time_string(@end_date, @locale)
|
||||
) %>
|
||||
)}
|
||||
</strong>
|
||||
<br />
|
||||
<%= if @event.options.timezone != @timezone do %>
|
||||
<span style="font-size: 13px;">
|
||||
<%= gettext("🌐 %{timezone} %{offset}",
|
||||
{gettext("🌐 %{timezone} %{offset}",
|
||||
timezone: @event.options.timezone,
|
||||
offset: Cldr.DateTime.Formatter.zone_gmt(@start_date)
|
||||
) %>
|
||||
)}
|
||||
</span>
|
||||
<% end %>
|
||||
<% true -> %>
|
||||
<strong>
|
||||
<%= gettext("From the %{start} to the %{end}",
|
||||
{gettext("From the %{start} to the %{end}",
|
||||
start: datetime_to_string(@start_date, @locale, :short),
|
||||
end: datetime_to_string(@end_date, @locale, :short)
|
||||
) %>
|
||||
)}
|
||||
</strong>
|
||||
<br />
|
||||
<%= if @event.options.timezone != @timezone do %>
|
||||
<span style="font-size: 13px;">
|
||||
<%= gettext("🌐 %{timezone} %{offset}",
|
||||
{gettext("🌐 %{timezone} %{offset}",
|
||||
timezone: @event.options.timezone,
|
||||
offset: Cldr.DateTime.Formatter.zone_gmt(@start_date)
|
||||
) %>
|
||||
)}
|
||||
</span>
|
||||
<% end %>
|
||||
<% end %>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang={"#{@locale}"}>
|
||||
<head>
|
||||
<title><%= @subject %></title>
|
||||
<title>{@subject}</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||
@@ -77,7 +77,7 @@
|
||||
<![endif]-->
|
||||
</td>
|
||||
</tr>
|
||||
<%= @inner_content %>
|
||||
{@inner_content}
|
||||
<%= if Mobilizon.Config.instance_demo_mode?() do %>
|
||||
<!-- BETA WARNING -->
|
||||
<tr>
|
||||
@@ -102,14 +102,14 @@
|
||||
style="padding: 30px 30px 30px 30px; border-radius: 4px 4px 4px 4px; color: #3A384C; font-family: 'Roboto', Helvetica, Arial, sans-serif; font-size: 18px; font-weight: 400; line-height: 25px;"
|
||||
>
|
||||
<h2 style="font-size: 25px; font-weight: 400; color: #D35204; margin: 0;">
|
||||
<%= gettext("Warning") %>
|
||||
{gettext("Warning")}
|
||||
</h2>
|
||||
<br />
|
||||
<p style="margin: 0; color: #3A384C">
|
||||
<%= gettext("This is a demonstration site to test Mobilizon.") %>
|
||||
{gettext("This is a demonstration site to test Mobilizon.")}
|
||||
</p>
|
||||
<p style="margin: 0; color: #3A384C;">
|
||||
<b><%= gettext("Please do not use it for real purposes.") %></b>
|
||||
<b>{gettext("Please do not use it for real purposes.")}</b>
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -139,7 +139,7 @@
|
||||
style="padding: 30px 30px 30px 30px; border-radius: 4px 4px 4px 4px; color: #3A384C; font-family: 'Roboto', Helvetica, Arial, sans-serif; font-size: 18px; font-weight: 400; line-height: 25px;"
|
||||
>
|
||||
<h2 style="font-size: 20px; font-weight: 400; color: #FFFFFF; margin: 0;">
|
||||
<%= gettext("Need help? Is something not working as expected?") %>
|
||||
{gettext("Need help? Is something not working as expected?")}
|
||||
</h2>
|
||||
<p style="margin: 0;">
|
||||
<a
|
||||
@@ -147,7 +147,7 @@
|
||||
target="_blank"
|
||||
style="color: #FFFFFF;"
|
||||
>
|
||||
<%= gettext("Ask the community on Framacolibri") %>
|
||||
{gettext("Ask the community on Framacolibri")}
|
||||
</a>
|
||||
</p>
|
||||
</td>
|
||||
@@ -179,18 +179,18 @@
|
||||
<%= if @offer_unsupscription do %>
|
||||
<p>
|
||||
<a href={"#{Mobilizon.Web.Endpoint.url()}/settings/notifications"}>
|
||||
<%= gettext("Manage your notification settings") %>
|
||||
{gettext("Manage your notification settings")}
|
||||
</a>
|
||||
</p>
|
||||
<% end %>
|
||||
<p style="margin: 0;">
|
||||
<%= gettext("<b>%{instance}</b> is powered by Mobilizon.",
|
||||
{gettext("<b>%{instance}</b> is powered by Mobilizon.",
|
||||
instance: @instance_name
|
||||
)
|
||||
|> raw %>
|
||||
|> raw}
|
||||
<br />
|
||||
<a href="https://mobilizon.org">
|
||||
<%= gettext("Learn more about Mobilizon here!") %>
|
||||
{gettext("Learn more about Mobilizon here!")}
|
||||
</a>
|
||||
</p>
|
||||
</td>
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
style="padding: 40px 20px 20px 20px; border-radius: 4px 4px 0px 0px; color: #3A384C; font-family: 'Roboto', Helvetica, Arial, sans-serif; font-size: 48px; font-weight: 400; line-height: 48px;"
|
||||
>
|
||||
<h1 style="font-size: 48px; font-weight: 400; margin: 0;">
|
||||
<%= @subject %>
|
||||
{@subject}
|
||||
</h1>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -47,7 +47,7 @@
|
||||
align="center"
|
||||
style="border-radius: 3px; text-align: left; padding: 10px 5% 0px 30px; color: #474467; font-family: 'Roboto', Helvetica, Arial, sans-serif; font-size: 16px; font-weight: 400;line-height: 25px;"
|
||||
>
|
||||
<%= dgettext(
|
||||
{dgettext(
|
||||
"activity",
|
||||
"%{profile} has posted a public announcement under event %{event}.",
|
||||
%{
|
||||
@@ -59,7 +59,7 @@
|
||||
</a>"
|
||||
}
|
||||
)
|
||||
|> raw %>
|
||||
|> raw}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
@@ -82,7 +82,7 @@
|
||||
target="_blank"
|
||||
style="font-size: 20px; font-family: Helvetica, Arial, sans-serif; color: #ffffff; text-decoration: none; padding: 15px 25px; border-radius: 2px; border: 1px solid #3C376E; display: inline-block;"
|
||||
>
|
||||
<%= gettext("Visit event page") %>
|
||||
{gettext("Visit event page")}
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -104,7 +104,7 @@
|
||||
align="center"
|
||||
style="border-radius: 3px; text-align: left; padding: 10px 5% 0px 30px; color: #474467; font-family: 'Roboto', Helvetica, Arial, sans-serif; font-size: 16px; font-weight: 400;line-height: 25px;"
|
||||
>
|
||||
<%= dgettext(
|
||||
{dgettext(
|
||||
"activity",
|
||||
"%{profile} has posted a private announcement about event %{event}.",
|
||||
%{
|
||||
@@ -114,11 +114,11 @@
|
||||
"<a href=\"#{~p"/events/#{@activity.subject_params["conversation_event_uuid"]}" |> url() |> URI.decode()}\">#{escape_html(@activity.subject_params["conversation_event_title"])}</a>"
|
||||
}
|
||||
)
|
||||
|> raw %>
|
||||
<%= dgettext(
|
||||
|> raw}
|
||||
{dgettext(
|
||||
"activity",
|
||||
"It might give details on how to join the event, so make sure to read it appropriately."
|
||||
) %>
|
||||
)}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
@@ -133,9 +133,9 @@
|
||||
<tr>
|
||||
<td align="center">
|
||||
<blockquote style="border-left-width: 0.25rem;border-left-color: #e2e8f0;border-left-style: solid;padding-left: 1em;margin: 0;text-align: start;color: #474467;font-family: 'Roboto', Helvetica, Arial, sans-serif; font-size: 16px; font-weight: 400;line-height: 25px;">
|
||||
<%= @activity.subject_params["conversation_text"]
|
||||
{@activity.subject_params["conversation_text"]
|
||||
|> sanitize_to_basic_html()
|
||||
|> raw() %>
|
||||
|> raw()}
|
||||
</blockquote>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -153,10 +153,10 @@
|
||||
align="center"
|
||||
style="border-radius: 3px; text-align: left; padding: 10px 5% 0px 30px; color: #474467; font-family: 'Roboto', Helvetica, Arial, sans-serif; font-size: 16px; font-weight: 400;line-height: 25px;"
|
||||
>
|
||||
<%= dgettext(
|
||||
{dgettext(
|
||||
"activity",
|
||||
"This information is sent privately to you as a person who registered for this event. Share the informations above with other people with caution."
|
||||
) %>
|
||||
)}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
@@ -179,7 +179,7 @@
|
||||
target="_blank"
|
||||
style="font-size: 20px; font-family: Helvetica, Arial, sans-serif; color: #ffffff; text-decoration: none; padding: 15px 25px; border-radius: 2px; border: 1px solid #3C376E; display: inline-block;"
|
||||
>
|
||||
<%= gettext("Visit event page") %>
|
||||
{gettext("Visit event page")}
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
style="padding: 40px 20px 20px 20px; border-radius: 4px 4px 0px 0px; color: #3A384C; font-family: 'Roboto', Helvetica, Arial, sans-serif; font-size: 48px; font-weight: 400; line-height: 48px;"
|
||||
>
|
||||
<h1 style="font-size: 48px; font-weight: 400; margin: 0;">
|
||||
<%= gettext("Confirm new email") %>
|
||||
{gettext("Confirm new email")}
|
||||
</h1>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -44,11 +44,11 @@
|
||||
style="padding: 20px 30px 0px 30px; color: #474467; font-family: 'Roboto', Helvetica, Arial, sans-serif; font-size: 18px; font-weight: 400; line-height: 25px;"
|
||||
>
|
||||
<p style="margin: 0;">
|
||||
<%= gettext(
|
||||
{gettext(
|
||||
"Hi there! It seems like you wanted to change the email address linked to your account on <b>%{instance}</b>. If you still wish to do so, please click the button below to confirm the change. You will then be able to log in to %{instance} with this new email address.",
|
||||
%{instance: @instance_name}
|
||||
)
|
||||
|> raw %>
|
||||
|> raw}
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -65,7 +65,7 @@
|
||||
target="_blank"
|
||||
style="font-size: 20px; font-family: Helvetica, Arial, sans-serif; color: #ffffff; text-decoration: none; padding: 15px 25px; border-radius: 2px; border: 1px solid #3C376E; display: inline-block;"
|
||||
>
|
||||
<%= gettext("Verify your email address") %>
|
||||
{gettext("Verify your email address")}
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -82,7 +82,7 @@
|
||||
style="padding: 20px 30px 40px 30px; color: #474467; font-family: 'Roboto', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: 400; line-height: 20px;"
|
||||
>
|
||||
<p style="margin: 0">
|
||||
<%= gettext("If you didn't trigger the change yourself, please ignore this message.") %>
|
||||
{gettext("If you didn't trigger the change yourself, please ignore this message.")}
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
style="padding: 40px 20px 20px 20px; border-radius: 4px 4px 0px 0px; color: #3A384C; font-family: 'Roboto', Helvetica, Arial, sans-serif; font-size: 48px; font-weight: 400; line-height: 48px;"
|
||||
>
|
||||
<h1 style="font-size: 48px; font-weight: 400; margin: 0;">
|
||||
<%= gettext("New email confirmation") %>
|
||||
{gettext("New email confirmation")}
|
||||
</h1>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -44,11 +44,11 @@
|
||||
style="padding: 20px 30px 0px 30px; color: #474467; font-family: 'Roboto', Helvetica, Arial, sans-serif; font-size: 18px; font-weight: 400; line-height: 25px;"
|
||||
>
|
||||
<p style="margin: 0;">
|
||||
<%= gettext(
|
||||
{gettext(
|
||||
"The email address for your account on <b>%{host}</b> is being changed to:",
|
||||
host: @instance_name
|
||||
)
|
||||
|> raw %>
|
||||
|> raw}
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -60,7 +60,7 @@
|
||||
<table border="0" cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<td align="center">
|
||||
<%= @new_email %>
|
||||
{@new_email}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
@@ -76,10 +76,10 @@
|
||||
style="padding: 20px 30px 0px 30px; color: #474467; font-family: 'Roboto', Helvetica, Arial, sans-serif; font-size: 18px; font-weight: 400; line-height: 25px;"
|
||||
>
|
||||
<p>
|
||||
<%= gettext(
|
||||
{gettext(
|
||||
"If you did not trigger this change yourself, it is likely that someone has gained access to your %{host} account. Please log in and change your password immediately. If you cannot login, contact the admin on %{host}.",
|
||||
host: @instance_name
|
||||
) %>
|
||||
)}
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
style="padding: 40px 20px 20px 20px; border-radius: 4px 4px 0px 0px; color: #3A384C; font-family: 'Roboto', Helvetica, Arial, sans-serif; font-size: 48px; font-weight: 400; line-height: 48px;"
|
||||
>
|
||||
<h1 style="font-size: 48px; font-weight: 400; margin: 0;">
|
||||
<%= gettext("Well done!") %>
|
||||
{gettext("Well done!")}
|
||||
</h1>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -44,9 +44,7 @@
|
||||
style="padding: 20px 30px 30px 30px; color: #474467; font-family: 'Roboto', Helvetica, Arial, sans-serif; font-size: 18px; font-weight: 400; line-height: 25px;"
|
||||
>
|
||||
<p style="margin: 0;">
|
||||
<%= gettext(
|
||||
"If you received this email, the email configuration seems to be correct."
|
||||
) %>
|
||||
{gettext("If you received this email, the email configuration seems to be correct.")}
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
style="padding: 40px 20px 20px 20px; border-radius: 4px 4px 0px 0px; color: #3A384C; font-family: 'Roboto', Helvetica, Arial, sans-serif; font-size: 48px; font-weight: 400; line-height: 48px;"
|
||||
>
|
||||
<h1 style="font-size: 48px; font-weight: 400; margin: 0;">
|
||||
<%= @subject %>
|
||||
{@subject}
|
||||
</h1>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -50,19 +50,19 @@
|
||||
<% :one_week -> %>
|
||||
<% dgettext("activity", "Here's your weekly activity recap") %>
|
||||
<% :one_hour -> %>
|
||||
<%= dngettext(
|
||||
{dngettext(
|
||||
"activity",
|
||||
"There has been an activity!",
|
||||
"There has been some activity!",
|
||||
@total_number_activities
|
||||
) %>
|
||||
)}
|
||||
<% false -> %>
|
||||
<%= dngettext(
|
||||
{dngettext(
|
||||
"activity",
|
||||
"There has been an activity!",
|
||||
"There has been some activity!",
|
||||
@total_number_activities
|
||||
) %>
|
||||
)}
|
||||
<% end %>
|
||||
</p>
|
||||
</td>
|
||||
@@ -132,8 +132,8 @@
|
||||
target="_blank"
|
||||
style="text-decoration: none;color: #474467;font-family: 'Roboto', Helvetica, Arial, sans-serif;font-size: 18px;font-weight: bold;line-height: 25px;"
|
||||
>
|
||||
<%= hd(group_activities).group.name ||
|
||||
"@#{Mobilizon.Actors.Actor.preferred_username_and_domain(hd(group_activities).group)}" %>
|
||||
{hd(group_activities).group.name ||
|
||||
"@#{Mobilizon.Actors.Actor.preferred_username_and_domain(hd(group_activities).group)}"}
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -149,9 +149,9 @@
|
||||
target="_blank"
|
||||
style="text-decoration: none;display: block;color: #7a7a7a;font-family: 'Roboto', Helvetica, Arial, sans-serif;font-size: 16px;font-weight: 400;line-height: 25px;"
|
||||
>
|
||||
@<%= Mobilizon.Actors.Actor.preferred_username_and_domain(
|
||||
@{Mobilizon.Actors.Actor.preferred_username_and_domain(
|
||||
hd(group_activities).group
|
||||
) %>
|
||||
)}
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -170,42 +170,42 @@
|
||||
<p style="margin: 0;">
|
||||
<%= case activity.type do %>
|
||||
<% :discussion -> %>
|
||||
<%= render("activity/_discussion_activity_item.html",
|
||||
{render("activity/_discussion_activity_item.html",
|
||||
activity: activity
|
||||
) %>
|
||||
)}
|
||||
<% :conversation -> %>
|
||||
<%= render("activity/_conversation_activity_item.html",
|
||||
{render("activity/_conversation_activity_item.html",
|
||||
activity: activity
|
||||
) %>
|
||||
)}
|
||||
<% :event -> %>
|
||||
<%= render("activity/_event_activity_item.html",
|
||||
{render("activity/_event_activity_item.html",
|
||||
activity: activity
|
||||
) %>
|
||||
)}
|
||||
<% :group -> %>
|
||||
<%= render("activity/_group_activity_item.html",
|
||||
{render("activity/_group_activity_item.html",
|
||||
activity: activity
|
||||
) %>
|
||||
)}
|
||||
<% :member -> %>
|
||||
<%= render("activity/_member_activity_item.html",
|
||||
{render("activity/_member_activity_item.html",
|
||||
activity: activity
|
||||
) %>
|
||||
)}
|
||||
<% :post -> %>
|
||||
<%= render("activity/_post_activity_item.html",
|
||||
{render("activity/_post_activity_item.html",
|
||||
activity: activity
|
||||
) %>
|
||||
)}
|
||||
<% :resource -> %>
|
||||
<%= render("activity/_resource_activity_item.html",
|
||||
{render("activity/_resource_activity_item.html",
|
||||
activity: activity
|
||||
) %>
|
||||
)}
|
||||
<% :comment -> %>
|
||||
<%= render("activity/_comment_activity_item.html",
|
||||
{render("activity/_comment_activity_item.html",
|
||||
activity: activity
|
||||
) %>
|
||||
)}
|
||||
<% end %>
|
||||
</p>
|
||||
<%= unless @single_activity do %>
|
||||
<em>
|
||||
<%= datetime_to_string(activity.inserted_at, @locale, :short) %>
|
||||
{datetime_to_string(activity.inserted_at, @locale, :short)}
|
||||
</em>
|
||||
<% end %>
|
||||
</li>
|
||||
@@ -227,13 +227,13 @@
|
||||
target="_blank"
|
||||
style="font-size: 20px; font-family: Helvetica, Arial, sans-serif; color: #ffffff; text-decoration: none; padding: 15px 25px; border-radius: 2px; border: 1px solid #3C376E; display: inline-block;"
|
||||
>
|
||||
<%= dngettext(
|
||||
{dngettext(
|
||||
"activity",
|
||||
"View one more activity",
|
||||
"View %{count} more activities",
|
||||
length(group_activities) - 5,
|
||||
%{count: length(group_activities) - 5}
|
||||
) %>
|
||||
)}
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -257,7 +257,7 @@
|
||||
style="padding: 20px 30px 40px 30px; color: #474467; font-family: 'Roboto', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: 400; line-height: 20px;"
|
||||
>
|
||||
<p style="margin: 0">
|
||||
<%= dgettext(
|
||||
{dgettext(
|
||||
"activity",
|
||||
"Don't want to receive activity notifications? You may change frequency or disable them in %{tag_start}your settings%{tag_end}.",
|
||||
%{
|
||||
@@ -265,7 +265,7 @@
|
||||
tag_end: "</a>"
|
||||
}
|
||||
)
|
||||
|> raw %>
|
||||
|> raw}
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
@@ -15,9 +15,9 @@
|
||||
style="padding: 40px 20px 20px 20px; border-radius: 4px 4px 0px 0px; color: #3A384C; font-family: 'Roboto', Helvetica, Arial, sans-serif; font-size: 48px; font-weight: 400; line-height: 48px;"
|
||||
>
|
||||
<h1 style="font-size: 48px; font-weight: 400; margin: 0;">
|
||||
<%= gettext("%{group} scheduled a new event",
|
||||
{gettext("%{group} scheduled a new event",
|
||||
group: Mobilizon.Actors.Actor.display_name(@group)
|
||||
) %>
|
||||
)}
|
||||
</h1>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -45,12 +45,12 @@
|
||||
align="left"
|
||||
style="padding: 20px 15px 0px 15px; color: #474467; font-family: 'Roboto', Helvetica, Arial, sans-serif; font-size: 18px; font-weight: 400; line-height: 25px;"
|
||||
>
|
||||
<%= render("participation/event_card.html",
|
||||
{render("participation/event_card.html",
|
||||
event: @event,
|
||||
timezone: @timezone,
|
||||
locale: @locale,
|
||||
action: "event"
|
||||
) %>
|
||||
)}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
style="padding: 40px 20px 20px 20px; border-radius: 4px 4px 0px 0px; color: #3A384C; font-family: 'Roboto', Helvetica, Arial, sans-serif; font-size: 48px; font-weight: 400; line-height: 48px;"
|
||||
>
|
||||
<h1 style="font-size: 48px; font-weight: 400; margin: 0;">
|
||||
<%= gettext("You're going!") %>
|
||||
{gettext("You're going!")}
|
||||
</h1>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -44,10 +44,10 @@
|
||||
style="padding: 20px 30px 0px 30px; color: #474467; font-family: 'Roboto', Helvetica, Arial, sans-serif; font-size: 18px; font-weight: 400; line-height: 25px;"
|
||||
>
|
||||
<p style="margin: 0;">
|
||||
<%= gettext("You recently requested to attend <b>%{title}</b>.",
|
||||
{gettext("You recently requested to attend <b>%{title}</b>.",
|
||||
title: escape_html(@event.title)
|
||||
)
|
||||
|> raw %>
|
||||
|> raw}
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -58,9 +58,9 @@
|
||||
style="padding: 20px 30px 40px 30px; color: #474467; font-family: 'Roboto', Helvetica, Arial, sans-serif; font-size: 18px; font-weight: 400; line-height: 25px;"
|
||||
>
|
||||
<p style="margin: 0">
|
||||
<%= gettext(
|
||||
{gettext(
|
||||
"Good news: one of the event organizers just approved your request. Update your calendar, because you're on the guest list now!"
|
||||
) %>
|
||||
)}
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -78,7 +78,7 @@
|
||||
target="_blank"
|
||||
style="font-size: 20px; font-family: Helvetica, Arial, sans-serif; color: #ffffff; text-decoration: none; padding: 15px 25px; border-radius: 2px; border: 1px solid #3C376E; display: inline-block;"
|
||||
>
|
||||
<%= gettext("Visit event page") %>
|
||||
{gettext("Visit event page")}
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -95,9 +95,9 @@
|
||||
style="padding: 20px 30px 40px 30px; color: #474467; font-family: 'Roboto', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: 400; line-height: 20px;"
|
||||
>
|
||||
<p style="margin: 0">
|
||||
<%= gettext(
|
||||
{gettext(
|
||||
"Would you wish to update or cancel your attendance, simply access the event page through the link above and click on the Attending button."
|
||||
) %>
|
||||
)}
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
style="padding: 40px 20px 20px 20px; border-radius: 4px 4px 0px 0px; color: #3A384C; font-family: 'Roboto', Helvetica, Arial, sans-serif; font-size: 48px; font-weight: 400; line-height: 48px;"
|
||||
>
|
||||
<h1 style="font-size: 48px; font-weight: 400; margin: 0;">
|
||||
<%= gettext("You're going!") %>
|
||||
{gettext("You're going!")}
|
||||
</h1>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -44,10 +44,10 @@
|
||||
style="padding: 20px 30px 0px 30px; color: #474467; font-family: 'Roboto', Helvetica, Arial, sans-serif; font-size: 18px; font-weight: 400; line-height: 25px;"
|
||||
>
|
||||
<p style="margin: 0;">
|
||||
<%= gettext("You recently requested to attend <b>%{title}</b>.",
|
||||
{gettext("You recently requested to attend <b>%{title}</b>.",
|
||||
title: escape_html(@event.title)
|
||||
)
|
||||
|> raw %>
|
||||
|> raw}
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -58,9 +58,9 @@
|
||||
style="padding: 20px 30px 40px 30px; color: #474467; font-family: 'Roboto', Helvetica, Arial, sans-serif; font-size: 18px; font-weight: 400; line-height: 25px;"
|
||||
>
|
||||
<p style="margin: 0">
|
||||
<%= gettext(
|
||||
{gettext(
|
||||
"You have now confirmed your participation. Update your calendar, because you're on the guest list now!"
|
||||
) %>
|
||||
)}
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -78,7 +78,7 @@
|
||||
target="_blank"
|
||||
style="font-size: 20px; font-family: Helvetica, Arial, sans-serif; color: #ffffff; text-decoration: none; padding: 15px 25px; border-radius: 2px; border: 1px solid #3C376E; display: inline-block;"
|
||||
>
|
||||
<%= gettext("Visit event page") %>
|
||||
{gettext("Visit event page")}
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -96,9 +96,9 @@
|
||||
style="padding: 20px 30px 40px 30px; color: #474467; font-family: 'Roboto', Helvetica, Arial, sans-serif; font-size: 18px; font-weight: 400; line-height: 25px;"
|
||||
>
|
||||
<p style="margin: 0">
|
||||
<%= gettext(
|
||||
{gettext(
|
||||
"If you wish to cancel your participation, simply click on the link below."
|
||||
) %>
|
||||
)}
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -119,7 +119,7 @@
|
||||
target="_blank"
|
||||
style="font-size: 20px; font-family: 'Roboto', Helvetica, Arial, sans-serif; color: #3C376E; text-decoration: none; padding: 15px 25px; border-radius: 2px; border: 1px solid #3C376E; display: inline-block;"
|
||||
>
|
||||
<%= gettext("Cancel my attendance") %>
|
||||
{gettext("Cancel my attendance")}
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -137,9 +137,9 @@
|
||||
style="padding: 20px 30px 40px 30px; color: #474467; font-family: 'Roboto', Helvetica, Arial, sans-serif; font-size: 18px; font-weight: 400; line-height: 25px;"
|
||||
>
|
||||
<p style="margin: 0">
|
||||
<%= gettext(
|
||||
{gettext(
|
||||
"Would you wish to update or cancel your attendance, simply access the event page through the link above and click on the Attending button."
|
||||
) %>
|
||||
)}
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
style="padding: 40px 20px 20px 20px; border-radius: 4px 4px 0px 0px; color: #3A384C; font-family: 'Roboto', Helvetica, Arial, sans-serif; font-size: 48px; font-weight: 400; line-height: 48px;"
|
||||
>
|
||||
<h1 style="font-size: 48px; font-weight: 400; margin: 0;">
|
||||
<%= gettext("Sorry! You're not going.") %>
|
||||
{gettext("Sorry! You're not going.")}
|
||||
</h1>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -44,10 +44,10 @@
|
||||
style="padding: 20px 30px 0px 30px; color: #474467; font-family: 'Roboto', Helvetica, Arial, sans-serif; font-size: 18px; font-weight: 400; line-height: 25px;"
|
||||
>
|
||||
<p style="margin: 0;">
|
||||
<%= gettext("You issued a request to attend <b>%{title}</b>.",
|
||||
{gettext("You issued a request to attend <b>%{title}</b>.",
|
||||
title: escape_html(@event.title)
|
||||
)
|
||||
|> raw %>
|
||||
|> raw}
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -58,7 +58,7 @@
|
||||
style="padding: 20px 30px 40px 30px; color: #474467; font-family: 'Roboto', Helvetica, Arial, sans-serif; font-size: 18px; font-weight: 400; line-height: 25px;"
|
||||
>
|
||||
<p style="margin: 0">
|
||||
<%= gettext("Unfortunately, the organizers rejected your request.") %>
|
||||
{gettext("Unfortunately, the organizers rejected your request.")}
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
style="padding: 40px 20px 20px 20px; border-radius: 4px 4px 0px 0px; color: #3A384C; font-family: 'Roboto', Helvetica, Arial, sans-serif; font-size: 48px; font-weight: 400; line-height: 48px;"
|
||||
>
|
||||
<h1 style="font-size: 48px; font-weight: 400; margin: 0;">
|
||||
<%= gettext("Event update!") %>
|
||||
{gettext("Event update!")}
|
||||
</h1>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -44,11 +44,11 @@
|
||||
style="padding: 20px 30px 0px 30px; color: #474467; font-family: 'Roboto', Helvetica, Arial, sans-serif; font-size: 18px; font-weight: 400; line-height: 25px;"
|
||||
>
|
||||
<p style="margin: 0;">
|
||||
<%= gettext(
|
||||
{gettext(
|
||||
"There have been changes for <b>%{title}</b> so we'd thought we'd let you know.",
|
||||
title: escape_html(@old_event.title)
|
||||
)
|
||||
|> raw %>
|
||||
|> raw}
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -65,13 +65,13 @@
|
||||
<b>
|
||||
<%= case @event.status do %>
|
||||
<% :confirmed -> %>
|
||||
<%= gettext("This event has been confirmed") %>
|
||||
{gettext("This event has been confirmed")}
|
||||
<% :tentative -> %>
|
||||
<%= gettext(
|
||||
{gettext(
|
||||
"This event has yet to be confirmed: organizers will let you know if they do confirm it."
|
||||
) %>
|
||||
)}
|
||||
<% :cancelled -> %>
|
||||
<%= gettext("This event has been cancelled by its organizers. Sorry!") %>
|
||||
{gettext("This event has been cancelled by its organizers. Sorry!")}
|
||||
<% end %>
|
||||
</b>
|
||||
</td>
|
||||
@@ -80,57 +80,57 @@
|
||||
<%= if MapSet.member?(@changes, :title) do %>
|
||||
<tr>
|
||||
<td bgcolor="#ffffff" align="left">
|
||||
<%= gettext("Event title") %>
|
||||
{gettext("Event title")}
|
||||
</td>
|
||||
<td bgcolor="#ffffff" align="left">
|
||||
<b><%= @event.title %></b>
|
||||
<b>{@event.title}</b>
|
||||
</td>
|
||||
</tr>
|
||||
<% end %>
|
||||
<%= if MapSet.member?(@changes, :begins_on) do %>
|
||||
<tr>
|
||||
<td bgcolor="#ffffff" align="left">
|
||||
<%= gettext("Start") %>
|
||||
{gettext("Start")}
|
||||
</td>
|
||||
<td bgcolor="#ffffff" align="left">
|
||||
<%= render("date/event_tz_date.html",
|
||||
{render("date/event_tz_date.html",
|
||||
event: @event,
|
||||
date: @event.begins_on,
|
||||
timezone: @timezone,
|
||||
locale: @locale
|
||||
) %>
|
||||
)}
|
||||
</td>
|
||||
</tr>
|
||||
<% end %>
|
||||
<%= if MapSet.member?(@changes, :ends_on) && !is_nil(@event.ends_on) do %>
|
||||
<tr>
|
||||
<td bgcolor="#ffffff" align="left">
|
||||
<%= gettext("End") %>
|
||||
{gettext("End")}
|
||||
</td>
|
||||
<td bgcolor="#ffffff" align="left">
|
||||
<%= render("date/event_tz_date.html",
|
||||
{render("date/event_tz_date.html",
|
||||
event: @event,
|
||||
date: @event.ends_on,
|
||||
timezone: @timezone,
|
||||
locale: @locale
|
||||
) %>
|
||||
)}
|
||||
</td>
|
||||
</tr>
|
||||
<% end %>
|
||||
<%= if MapSet.member?(@changes, :physical_address) do %>
|
||||
<tr>
|
||||
<td bgcolor="#ffffff" align="left">
|
||||
<%= gettext("Location") %>
|
||||
{gettext("Location")}
|
||||
</td>
|
||||
<%= unless is_nil(@event.physical_address) do %>
|
||||
<td bgcolor="#ffffff" align="left">
|
||||
<p>
|
||||
<%= Mobilizon.Addresses.Address.representation(@event.physical_address) %>
|
||||
{Mobilizon.Addresses.Address.representation(@event.physical_address)}
|
||||
</p>
|
||||
</td>
|
||||
<% else %>
|
||||
<td bgcolor="#ffffff" align="left">
|
||||
<%= gettext("Location address was removed") %>
|
||||
{gettext("Location address was removed")}
|
||||
</td>
|
||||
<% end %>
|
||||
</tr>
|
||||
@@ -152,7 +152,7 @@
|
||||
target="_blank"
|
||||
style="font-size: 20px; font-family: Helvetica, Arial, sans-serif; color: #ffffff; text-decoration: none; padding: 15px 25px; border-radius: 2px; border: 1px solid #3C376E; display: inline-block;"
|
||||
>
|
||||
<%= gettext("Visit the updated event page") %>
|
||||
{gettext("Visit the updated event page")}
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -169,11 +169,11 @@
|
||||
style="padding: 20px 30px 40px 30px; color: #474467; font-family: 'Roboto', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: 400; line-height: 20px;"
|
||||
>
|
||||
<p style="margin: 0">
|
||||
<%= ngettext(
|
||||
{ngettext(
|
||||
"Would you wish to cancel your attendance, visit the event page through the link above and click the « Attending » button.",
|
||||
"Would you wish to cancel your attendance to one or several events, visit the event pages through the links above and click the « Attending » button.",
|
||||
1
|
||||
) %>
|
||||
)}
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
style="padding: 40px 20px 20px 20px; border-radius: 4px 4px 0px 0px; color: #3A384C; font-family: 'Roboto', Helvetica, Arial, sans-serif; font-size: 48px; font-weight: 400; line-height: 48px;"
|
||||
>
|
||||
<h1 style="font-size: 48px; font-weight: 400; margin: 0;">
|
||||
<%= gettext("Come along!") %>
|
||||
{gettext("Come along!")}
|
||||
</h1>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -44,14 +44,14 @@
|
||||
style="padding: 20px 30px 0px 30px; color: #474467; font-family: 'Roboto', Helvetica, Arial, sans-serif; font-size: 18px; font-weight: 400; line-height: 25px;"
|
||||
>
|
||||
<p style="margin: 0;">
|
||||
<%= gettext(
|
||||
{gettext(
|
||||
"<b>%{inviter}</b> just invited you to join their group %{link_start}<b>%{group}</b>%{link_end}",
|
||||
group: escape_html(display_name(@group)),
|
||||
inviter: escape_html(display_name(@inviter)),
|
||||
link_start: "<a href=\"#{@group.url}\">",
|
||||
link_end: "</a>"
|
||||
)
|
||||
|> raw %>
|
||||
|> raw}
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -62,7 +62,7 @@
|
||||
style="padding: 20px 30px 40px 30px; color: #474467; font-family: 'Roboto', Helvetica, Arial, sans-serif; font-size: 18px; font-weight: 400; line-height: 25px;"
|
||||
>
|
||||
<p style="margin: 0">
|
||||
<%= gettext("To accept this invitation, head over to your groups.") %>
|
||||
{gettext("To accept this invitation, head over to your groups.")}
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -80,7 +80,7 @@
|
||||
target="_blank"
|
||||
style="font-size: 20px; font-family: Helvetica, Arial, sans-serif; color: #ffffff; text-decoration: none; padding: 15px 25px; border-radius: 2px; border: 1px solid #3C376E; display: inline-block;"
|
||||
>
|
||||
<%= gettext("See my groups") %>
|
||||
{gettext("See my groups")}
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
style="padding: 40px 20px 20px 20px; border-radius: 4px 4px 0px 0px; color: #3A384C; font-family: 'Roboto', Helvetica, Arial, sans-serif; font-size: 48px; font-weight: 400; line-height: 48px;"
|
||||
>
|
||||
<h1 style="font-size: 48px; font-weight: 400; margin: 0;">
|
||||
<%= gettext("Until next time!") %>
|
||||
{gettext("Until next time!")}
|
||||
</h1>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -44,13 +44,13 @@
|
||||
style="padding: 20px 30px 0px 30px; color: #474467; font-family: 'Roboto', Helvetica, Arial, sans-serif; font-size: 18px; font-weight: 400; line-height: 25px;"
|
||||
>
|
||||
<p style="margin: 0;">
|
||||
<%= gettext(
|
||||
{gettext(
|
||||
"You have been removed from group %{link_start}<b>%{group}</b>%{link_end}. You will not be able to access this group's private content anymore.",
|
||||
group: escape_html(display_name(@group)),
|
||||
link_start: "<a href=\"#{@group.url}\">",
|
||||
link_end: "</a>"
|
||||
)
|
||||
|> raw %>
|
||||
|> raw}
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -61,9 +61,9 @@
|
||||
style="padding: 20px 30px 40px 30px; color: #474467; font-family: 'Roboto', Helvetica, Arial, sans-serif; font-size: 18px; font-weight: 400; line-height: 25px;"
|
||||
>
|
||||
<p style="margin: 0">
|
||||
<%= gettext(
|
||||
{gettext(
|
||||
"If you feel this is an error, you may contact the group's administrators so that they can add you back."
|
||||
) %>
|
||||
)}
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
style="padding: 40px 20px 20px 20px; border-radius: 4px 4px 0px 0px; color: #3A384C; font-family: 'Roboto', Helvetica, Arial, sans-serif; font-size: 48px; font-weight: 400; line-height: 48px;"
|
||||
>
|
||||
<h1 style="font-size: 48px; font-weight: 400; margin: 0;">
|
||||
<%= gettext("You're in!") %>
|
||||
{gettext("You're in!")}
|
||||
</h1>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -44,14 +44,14 @@
|
||||
style="padding: 20px 30px 0px 30px; color: #474467; font-family: 'Roboto', Helvetica, Arial, sans-serif; font-size: 18px; font-weight: 400; line-height: 25px;"
|
||||
>
|
||||
<p style="margin: 0;">
|
||||
<%= gettext(
|
||||
{gettext(
|
||||
"Your membership request for group %{link_start}<b>%{group}</b>%{link_end} has been approved.",
|
||||
group: escape_html(display_name(@group)),
|
||||
link_start:
|
||||
"<a href=\"#{~p"/@#{preferred_username_and_domain(@group)}" |> url() |> URI.decode()}\">",
|
||||
link_end: "</a>"
|
||||
)
|
||||
|> raw %>
|
||||
|> raw}
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -73,7 +73,7 @@
|
||||
target="_blank"
|
||||
style="font-size: 20px; font-family: Helvetica, Arial, sans-serif; color: #ffffff; text-decoration: none; padding: 15px 25px; border-radius: 2px; border: 1px solid #3C376E; display: inline-block;"
|
||||
>
|
||||
<%= gettext("View the group") %>
|
||||
{gettext("View the group")}
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
style="padding: 40px 20px 20px 20px; border-radius: 4px 4px 0px 0px; color: #3A384C; font-family: 'Roboto', Helvetica, Arial, sans-serif; font-size: 48px; font-weight: 400; line-height: 48px;"
|
||||
>
|
||||
<h1 style="font-size: 48px; font-weight: 400; margin: 0;">
|
||||
<%= gettext("Sorry, not this time!") %>
|
||||
{gettext("Sorry, not this time!")}
|
||||
</h1>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -44,14 +44,14 @@
|
||||
style="padding: 20px 30px 40px 30px; color: #474467; font-family: 'Roboto', Helvetica, Arial, sans-serif; font-size: 18px; font-weight: 400; line-height: 25px;"
|
||||
>
|
||||
<p style="margin: 0;">
|
||||
<%= gettext(
|
||||
{gettext(
|
||||
"Your membership request for group %{link_start}<b>%{group}</b>%{link_end} has been rejected.",
|
||||
group: escape_html(display_name(@group)),
|
||||
link_start:
|
||||
"<a href=\"#{~p"/@#{preferred_username_and_domain(@group)}" |> url() |> URI.decode()}\">",
|
||||
link_end: "</a>"
|
||||
)
|
||||
|> raw %>
|
||||
|> raw}
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
@@ -15,10 +15,10 @@
|
||||
style="padding: 40px 20px 20px 20px; border-radius: 4px 4px 0px 0px; color: #3A384C; font-family: 'Roboto', Helvetica, Arial, sans-serif; font-size: 48px; font-weight: 400; line-height: 48px;"
|
||||
>
|
||||
<h1 style="font-size: 48px; font-weight: 400; margin: 0;">
|
||||
<%= gettext("The group %{group} has been suspended on %{instance}!",
|
||||
{gettext("The group %{group} has been suspended on %{instance}!",
|
||||
group: display_name(@group),
|
||||
instance: @instance_name
|
||||
) %>
|
||||
)}
|
||||
</h1>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -47,12 +47,12 @@
|
||||
style="padding: 20px 30px 0px 30px; color: #474467; font-family: 'Roboto', Helvetica, Arial, sans-serif; font-size: 18px; font-weight: 400; line-height: 25px;"
|
||||
>
|
||||
<p style="margin: 0;">
|
||||
<%= gettext(
|
||||
{gettext(
|
||||
"Your instance's moderation team has decided to suspend <b>%{group_name}</b> (%{group_address}). You are no longer a member of this group.",
|
||||
group_name: escape_html(display_name(@group)),
|
||||
group_address: preferred_username_and_domain(@group)
|
||||
)
|
||||
|> raw %>
|
||||
|> raw}
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -64,9 +64,9 @@
|
||||
style="padding: 20px 30px 40px 30px; color: #474467; font-family: 'Roboto', Helvetica, Arial, sans-serif; font-size: 18px; font-weight: 400; line-height: 25px;"
|
||||
>
|
||||
<p style="margin: 0">
|
||||
<%= gettext(
|
||||
{gettext(
|
||||
"As this group was located on this instance, all of its data has been irretrievably deleted."
|
||||
) %>
|
||||
)}
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -78,9 +78,9 @@
|
||||
style="padding: 20px 30px 40px 30px; color: #474467; font-family: 'Roboto', Helvetica, Arial, sans-serif; font-size: 18px; font-weight: 400; line-height: 25px;"
|
||||
>
|
||||
<p style="margin: 0">
|
||||
<%= gettext(
|
||||
{gettext(
|
||||
"As this group was located on another instance, it will continue to work for other instances than this one."
|
||||
) %>
|
||||
)}
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
style="padding: 40px 20px 20px 20px; border-radius: 4px 4px 0px 0px; color: #3A384C; font-family: 'Roboto', Helvetica, Arial, sans-serif; font-size: 48px; font-weight: 400; line-height: 48px;"
|
||||
>
|
||||
<h1 style="font-size: 48px; font-weight: 400; margin: 0;">
|
||||
<%= gettext("Want to connect?") %>
|
||||
{gettext("Want to connect?")}
|
||||
</h1>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -44,15 +44,15 @@
|
||||
style="padding: 20px 30px 0px 30px; color: #474467; font-family: 'Roboto', Helvetica, Arial, sans-serif; font-size: 18px; font-weight: 400; line-height: 25px;"
|
||||
>
|
||||
<p style="margin: 0;">
|
||||
<%= gettext("<b>%{name}</b> just requested to follow your instance.",
|
||||
{gettext("<b>%{name}</b> just requested to follow your instance.",
|
||||
name: escape_html(display_name_and_username(@follower))
|
||||
)
|
||||
|> raw %>
|
||||
|> raw}
|
||||
<br />
|
||||
<%= if @follower.type == :Application do %>
|
||||
<%= gettext("If you accept, this instance will receive all of your public events.") %>
|
||||
{gettext("If you accept, this instance will receive all of your public events.")}
|
||||
<% else %>
|
||||
<%= gettext("If you accept, this profile will receive all of your public events.") %>
|
||||
{gettext("If you accept, this profile will receive all of your public events.")}
|
||||
<% end %>
|
||||
</p>
|
||||
</td>
|
||||
@@ -65,10 +65,10 @@
|
||||
style="padding: 20px 30px 0px 30px; color: #474467; font-family: 'Roboto', Helvetica, Arial, sans-serif; font-size: 18px; font-weight: 400; line-height: 25px;"
|
||||
>
|
||||
<p style="margin: 0;">
|
||||
<%= gettext(
|
||||
{gettext(
|
||||
"Note: %{name} following you doesn't necessarily imply that you follow this instance, but you can ask to follow them too.",
|
||||
name: escape_html(display_name_and_username(@follower))
|
||||
) %>
|
||||
)}
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -81,11 +81,9 @@
|
||||
>
|
||||
<p style="margin: 0">
|
||||
<%= if @follower.type == :Application do %>
|
||||
<%= gettext(
|
||||
"To accept this invitation, head over to the instance's admin settings."
|
||||
) %>
|
||||
{gettext("To accept this invitation, head over to the instance's admin settings.")}
|
||||
<% else %>
|
||||
<%= gettext("To accept this invitation, head over to the profile's admin page.") %>
|
||||
{gettext("To accept this invitation, head over to the profile's admin page.")}
|
||||
<% end %>
|
||||
</p>
|
||||
</td>
|
||||
@@ -107,7 +105,7 @@
|
||||
target="_blank"
|
||||
style="font-size: 20px; font-family: Helvetica, Arial, sans-serif; color: #ffffff; text-decoration: none; padding: 15px 25px; border-radius: 2px; border: 1px solid #3C376E; display: inline-block;"
|
||||
>
|
||||
<%= gettext("View the details") %>
|
||||
{gettext("View the details")}
|
||||
</a>
|
||||
<% else %>
|
||||
<a
|
||||
@@ -117,7 +115,7 @@
|
||||
target="_blank"
|
||||
style="font-size: 20px; font-family: Helvetica, Arial, sans-serif; color: #ffffff; text-decoration: none; padding: 15px 25px; border-radius: 2px; border: 1px solid #3C376E; display: inline-block;"
|
||||
>
|
||||
<%= gettext("View the details") %>
|
||||
{gettext("View the details")}
|
||||
</a>
|
||||
<% end %>
|
||||
</td>
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
style="padding: 40px 20px 20px 20px; border-radius: 4px 4px 0px 0px; color: #3A384C; font-family: 'Roboto', Helvetica, Arial, sans-serif; font-size: 48px; font-weight: 400; line-height: 48px;"
|
||||
>
|
||||
<h1 style="font-size: 48px; font-weight: 400; margin: 0;">
|
||||
<%= gettext("On the agenda this week") %>
|
||||
{gettext("On the agenda this week")}
|
||||
</h1>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -44,12 +44,12 @@
|
||||
style="padding: 20px 30px 0px 30px; color: #474467; font-family: 'Roboto', Helvetica, Arial, sans-serif; font-size: 18px; font-weight: 400; line-height: 25px;"
|
||||
>
|
||||
<p style="margin: 0;">
|
||||
<%= ngettext(
|
||||
{ngettext(
|
||||
"You have one event this week:",
|
||||
"You have %{total} events this week:",
|
||||
@total,
|
||||
total: @total
|
||||
) %>
|
||||
)}
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -63,22 +63,22 @@
|
||||
<ul style="margin: 0;padding: 0;list-style-type: none;">
|
||||
<%= for participation <- @participations do %>
|
||||
<li style="padding: 0; border: 1px solid rgba(0,0,0,.125); border-radius: .25rem; margin-bottom: 10px">
|
||||
<%= render("participation/event_card.html",
|
||||
{render("participation/event_card.html",
|
||||
event: participation.event,
|
||||
timezone: @timezone,
|
||||
locale: @locale,
|
||||
action: "participation"
|
||||
) %>
|
||||
)}
|
||||
</li>
|
||||
<% end %>
|
||||
</ul>
|
||||
<% else %>
|
||||
<%= render("participation/event_card.html",
|
||||
{render("participation/event_card.html",
|
||||
event: @participation.event,
|
||||
timezone: @timezone,
|
||||
locale: @locale,
|
||||
action: "participation"
|
||||
) %>
|
||||
)}
|
||||
<% end %>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -89,11 +89,11 @@
|
||||
style="padding: 20px 30px 40px 30px; color: #474467; font-family: 'Roboto', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: 400; line-height: 20px;"
|
||||
>
|
||||
<p style="margin: 0">
|
||||
<%= ngettext(
|
||||
{ngettext(
|
||||
"Would you wish to cancel your attendance, visit the event page through the link above and click the « Attending » button.",
|
||||
"Would you wish to cancel your attendance to one or several events, visit the event pages through the links above and click the « Attending » button.",
|
||||
@total
|
||||
) %>
|
||||
)}
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
style="padding: 40px 20px 20px 20px; border-radius: 4px 4px 0px 0px; color: #3A384C; font-family: 'Roboto', Helvetica, Arial, sans-serif; font-size: 48px; font-weight: 400; line-height: 48px;"
|
||||
>
|
||||
<h1 style="font-size: 48px; font-weight: 400; margin: 0;">
|
||||
<%= gettext("What's up today?") %>
|
||||
{gettext("What's up today?")}
|
||||
</h1>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -44,9 +44,9 @@
|
||||
style="padding: 20px 30px 0px 30px; color: #474467; font-family: 'Roboto', Helvetica, Arial, sans-serif; font-size: 18px; font-weight: 400; line-height: 25px;"
|
||||
>
|
||||
<p style="margin: 0;">
|
||||
<%= ngettext("You have one event today:", "You have %{total} events today:", @total,
|
||||
{ngettext("You have one event today:", "You have %{total} events today:", @total,
|
||||
total: @total
|
||||
) %>
|
||||
)}
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -60,22 +60,22 @@
|
||||
<ul style="margin: 0;">
|
||||
<%= for participation <- @participations do %>
|
||||
<li>
|
||||
<%= render("participation/event_card.html",
|
||||
{render("participation/event_card.html",
|
||||
event: participation.event,
|
||||
timezone: @timezone,
|
||||
locale: @locale,
|
||||
action: "participation"
|
||||
) %>
|
||||
)}
|
||||
</li>
|
||||
<% end %>
|
||||
</ul>
|
||||
<% else %>
|
||||
<%= render("participation/event_card.html",
|
||||
{render("participation/event_card.html",
|
||||
event: @participation.event,
|
||||
timezone: @timezone,
|
||||
locale: @locale,
|
||||
action: "participation"
|
||||
) %>
|
||||
)}
|
||||
<% end %>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -86,11 +86,11 @@
|
||||
style="padding: 20px 30px 40px 30px; color: #474467; font-family: 'Roboto', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: 400; line-height: 20px;"
|
||||
>
|
||||
<p style="margin: 0">
|
||||
<%= ngettext(
|
||||
{ngettext(
|
||||
"Would you wish to cancel your attendance, visit the event page through the link above and click the « Attending » button.",
|
||||
"Would you wish to cancel your attendance to one or several events, visit the event pages through the links above and click the « Attending » button.",
|
||||
@total
|
||||
) %>
|
||||
)}
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
@@ -49,14 +49,14 @@
|
||||
style="color: rgb(87,100,108); font-family: Helvetica,Arial,sans-serif; font-weight: 300; line-height: 1.5; font-size: 16px; vertical-align: baseline; margin: 0; padding: 0; border: 0;"
|
||||
align="left"
|
||||
>
|
||||
<%= render("date/event_tz_date_range.html",
|
||||
{render("date/event_tz_date_range.html",
|
||||
event: @event,
|
||||
start_date:
|
||||
datetime_tz_convert(@event.begins_on, @event.options.timezone),
|
||||
end_date: datetime_tz_convert(@event.ends_on, @event.options.timezone),
|
||||
timezone: @timezone,
|
||||
locale: @locale
|
||||
) %>
|
||||
)}
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -87,7 +87,7 @@
|
||||
style="color: rgb(87,100,108); font-family: Helvetica,Arial,sans-serif; font-weight: 300; line-height: 1.5; font-size: 16px; vertical-align: baseline; margin: 0; padding: 0; border: 0;"
|
||||
align="left"
|
||||
>
|
||||
<%= render_address(@event.physical_address) %>
|
||||
{render_address(@event.physical_address)}
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -118,7 +118,7 @@
|
||||
style="color: rgb(87,100,108); font-family: Helvetica,Arial,sans-serif; font-weight: 300; line-height: 1.5; font-size: 16px; vertical-align: baseline; margin: 0; padding: 0; border: 0;"
|
||||
align="left"
|
||||
>
|
||||
<%= gettext("Online event") %>
|
||||
{gettext("Online event")}
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
style="color: rgb(66,81,90); font-family: Helvetica,Arial,sans-serif; font-weight: 700; text-align: left; line-height: 1.4; text-decoration: none; vertical-align: baseline; font-size: 22px; letter-spacing: 0.2px; margin: 0 0 30px; padding: 0; border: 0;"
|
||||
target="_blank"
|
||||
>
|
||||
<%= @event.title %>
|
||||
{@event.title}
|
||||
</a>
|
||||
<div style="vertical-align: baseline; width: 100%; margin: 0 0 0 10px; padding: 0; border: 0;display: flex;">
|
||||
<%= cond do %>
|
||||
@@ -44,11 +44,11 @@
|
||||
style="color: rgb(254,56,89); font-family: Helvetica,Arial,sans-serif; font-weight: normal; text-align: left; line-height: 1.3; text-decoration: none; vertical-align: baseline; margin: 0; padding: 0; border: 0;"
|
||||
target="_blank"
|
||||
>
|
||||
<%= @event.attributed_to.name || @event.attributed_to.preferred_username %>
|
||||
{@event.attributed_to.name || @event.attributed_to.preferred_username}
|
||||
</a>
|
||||
<% else %>
|
||||
<span style="font-family: Helvetica,Arial,sans-serif; font-weight: normal; text-align: left; line-height: 1.3; text-decoration: none; vertical-align: baseline; margin: 0; padding: 0; border: 0;">
|
||||
<%= @event.organizer_actor.name || @event.organizer_actor.preferred_username %>
|
||||
{@event.organizer_actor.name || @event.organizer_actor.preferred_username}
|
||||
</span>
|
||||
<% end %>
|
||||
</p>
|
||||
|
||||
@@ -1,15 +1,15 @@
|
||||
<%= if @event.picture do %>
|
||||
<!-- event image -->
|
||||
<%= render("participation/card/_picture.html", event: @event) %>
|
||||
{render("participation/card/_picture.html", event: @event)}
|
||||
<!-- event image end -->
|
||||
<% end %>
|
||||
<%= render("participation/card/_title.html", event: @event) %>
|
||||
<%= render("participation/card/_metadata.html",
|
||||
{render("participation/card/_title.html", event: @event)}
|
||||
{render("participation/card/_metadata.html",
|
||||
event: @event,
|
||||
timezone: @timezone,
|
||||
locale: @locale,
|
||||
action: @action
|
||||
) %>
|
||||
)}
|
||||
<%= case @action do %>
|
||||
<% "participation" -> %>
|
||||
<div
|
||||
@@ -44,7 +44,7 @@
|
||||
style="color: rgb(255,255,255); font-family: Helvetica,Arial,sans-serif; text-align: left; line-height: 14px; text-decoration: none; vertical-align: baseline; font-size: 20px; display: inline-block; border: 1px solid #3C376E; border-radius: 15px; white-space: nowrap; margin: 0; padding: 15px 25px; border: none;"
|
||||
target="_blank"
|
||||
>
|
||||
<%= gettext("Manage your participation") %>
|
||||
{gettext("Manage your participation")}
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -88,7 +88,7 @@
|
||||
style="color: rgb(255,255,255); font-family: Helvetica,Arial,sans-serif; text-align: left; line-height: 14px; text-decoration: none; vertical-align: baseline; font-size: 20px; display: inline-block; border: 1px solid #3C376E; border-radius: 15px; white-space: nowrap; margin: 0; padding: 15px 25px; border: none;"
|
||||
target="_blank"
|
||||
>
|
||||
<%= gettext("Participate") %>
|
||||
{gettext("Participate")}
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -110,14 +110,14 @@
|
||||
style="color: rgb(46,62,72); font-family: Helvetica,Arial,sans-serif; font-weight: 700; line-height: 1.5; font-size: 16px; vertical-align: baseline; margin: 0; padding: 0 0 7.5px; border: 0;"
|
||||
align="left"
|
||||
>
|
||||
<%= gettext("Details") %>
|
||||
{gettext("Details")}
|
||||
</p>
|
||||
<p
|
||||
class="event-working__detail"
|
||||
style="color: rgb(87,100,108); font-family: Helvetica,Arial,sans-serif; font-weight: 300; line-height: 1.5; font-size: 16px; vertical-align: baseline; margin: 0; padding: 0; border: 0;"
|
||||
align="left"
|
||||
>
|
||||
<%= process_description(@event.description) %>
|
||||
{process_description(@event.description)}
|
||||
</p>
|
||||
<%= if String.length(@event.description) > 200 do %>
|
||||
<p
|
||||
@@ -129,7 +129,7 @@
|
||||
style="color: rgb(254,56,89); font-family: Helvetica,Arial,sans-serif; font-weight: 400; text-align: left; line-height: 1.5; text-decoration: none; vertical-align: baseline; font-size: 16px; margin: 0; padding: 0; border: 0;"
|
||||
target="_blank"
|
||||
>
|
||||
<%= gettext("Read more") %>
|
||||
{gettext("Read more")}
|
||||
</a>
|
||||
</p>
|
||||
<% end %>
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
style="padding: 40px 20px 20px 20px; border-radius: 4px 4px 0px 0px; color: #3A384C; font-family: 'Roboto', Helvetica, Arial, sans-serif; font-size: 48px; font-weight: 400; line-height: 48px;"
|
||||
>
|
||||
<h1 style="font-size: 48px; font-weight: 400; margin: 0;">
|
||||
<%= gettext("Password reset") %>
|
||||
{gettext("Password reset")}
|
||||
</h1>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -44,15 +44,15 @@
|
||||
style="padding: 20px 30px 0px 30px; color: #474467; font-family: 'Roboto', Helvetica, Arial, sans-serif; font-size: 18px; font-weight: 400; line-height: 25px;"
|
||||
>
|
||||
<p style="margin: 0;">
|
||||
<%= gettext("You requested a new password for your account on <b>%{instance}</b>.",
|
||||
{gettext("You requested a new password for your account on <b>%{instance}</b>.",
|
||||
instance: @instance_name
|
||||
)
|
||||
|> raw %>
|
||||
|> raw}
|
||||
</p>
|
||||
<p style="margin: 0">
|
||||
<%= gettext(
|
||||
{gettext(
|
||||
"Resetting your password is easy. Just press the button below and follow the instructions. We'll have you up and running in no time."
|
||||
) %>
|
||||
)}
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -63,9 +63,9 @@
|
||||
style="padding: 20px 30px 40px 30px; color: #474467; font-family: 'Roboto', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: 400; line-height: 20px;"
|
||||
>
|
||||
<p style="margin: 0">
|
||||
<%= gettext(
|
||||
{gettext(
|
||||
"If you didn't request this, please ignore this email. Your password won't change until you access the link below and create a new one."
|
||||
) %>
|
||||
)}
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -83,7 +83,7 @@
|
||||
target="_blank"
|
||||
style="font-size: 20px; font-family: Helvetica, Arial, sans-serif; color: #ffffff; text-decoration: none; color: #ffffff; text-decoration: none; padding: 15px 25px; border-radius: 2px; border: 1px solid #474467; display: inline-block;"
|
||||
>
|
||||
<%= gettext("Reset Password") %>
|
||||
{gettext("Reset Password")}
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
style="padding: 40px 20px 20px 20px; border-radius: 4px 4px 0px 0px; color: #3A384C; font-family: 'Roboto', Helvetica, Arial, sans-serif; font-size: 48px; font-weight: 400; line-height: 48px;"
|
||||
>
|
||||
<h1 style="font-size: 48px; font-weight: 400; margin: 0;">
|
||||
<%= gettext("A request is pending!") %>
|
||||
{gettext("A request is pending!")}
|
||||
</h1>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -44,12 +44,12 @@
|
||||
style="padding: 20px 30px 0px 30px; color: #474467; font-family: 'Roboto', Helvetica, Arial, sans-serif; font-size: 18px; font-weight: 400; line-height: 25px;"
|
||||
>
|
||||
<p style="margin: 0;">
|
||||
<%= ngettext(
|
||||
{ngettext(
|
||||
"You have one pending attendance request to process for the following event:",
|
||||
"You have %{number_participation_requests} attendance requests to process for the following event:",
|
||||
@total,
|
||||
number_participation_requests: @total
|
||||
) %>
|
||||
)}
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -59,12 +59,12 @@
|
||||
align="left"
|
||||
style="padding: 20px 30px 0px 30px; color: #474467; font-family: 'Roboto', Helvetica, Arial, sans-serif; font-size: 18px; font-weight: 400; line-height: 25px;"
|
||||
>
|
||||
<%= render("participation/event_card.html",
|
||||
{render("participation/event_card.html",
|
||||
event: @event,
|
||||
timezone: @timezone,
|
||||
locale: @locale,
|
||||
action: nil
|
||||
) %>
|
||||
)}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
@@ -86,7 +86,7 @@
|
||||
target="_blank"
|
||||
style="font-size: 20px; font-family: Helvetica, Arial, sans-serif; color: #ffffff; text-decoration: none; color: #ffffff; text-decoration: none; padding: 15px 25px; border-radius: 2px; border: 1px solid #3C376E; display: inline-block;"
|
||||
>
|
||||
<%= gettext("Manage pending requests") %>
|
||||
{gettext("Manage pending requests")}
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -103,9 +103,9 @@
|
||||
style="padding: 20px 30px 40px 30px; color: #474467; font-family: 'Roboto', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: 400; line-height: 20px;"
|
||||
>
|
||||
<p style="margin: 0">
|
||||
<%= gettext(
|
||||
{gettext(
|
||||
"You are receiving this email because you chose to get notifications for pending attendance requests to your events. You can disable or change your notification settings in your user account settings under « Notifications »."
|
||||
) %>
|
||||
)}
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
style="padding: 40px 20px 20px 20px; border-radius: 4px 4px 0px 0px; color: #3A384C; font-family: 'Roboto', Helvetica, Arial, sans-serif; font-size: 48px; font-weight: 400; line-height: 48px;"
|
||||
>
|
||||
<h1 style="font-size: 48px; font-weight: 400; margin: 0;">
|
||||
<%= gettext("Nearly there!") %>
|
||||
{gettext("Nearly there!")}
|
||||
</h1>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -44,11 +44,11 @@
|
||||
style="padding: 20px 30px 0px 30px; color: #474467; font-family: 'Roboto', Helvetica, Arial, sans-serif; font-size: 18px; font-weight: 400; line-height: 25px;"
|
||||
>
|
||||
<p style="margin: 0;">
|
||||
<%= gettext(
|
||||
{gettext(
|
||||
"You created an account on <b>%{host}</b> with this email address. You are one click away from activating it.",
|
||||
host: @instance_name
|
||||
)
|
||||
|> raw %>
|
||||
|> raw}
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -59,7 +59,7 @@
|
||||
style="padding: 20px 30px 40px 30px; color: #474467; font-family: 'Roboto', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: 400; line-height: 20px;"
|
||||
>
|
||||
<p style="margin: 0">
|
||||
<%= gettext("If you didn't trigger this email, you may safely ignore it.") %>
|
||||
{gettext("If you didn't trigger this email, you may safely ignore it.")}
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -77,7 +77,7 @@
|
||||
target="_blank"
|
||||
style="font-size: 20px; font-family: Helvetica, Arial, sans-serif; color: #ffffff; text-decoration: none; color: #ffffff; text-decoration: none; padding: 15px 25px; border-radius: 2px; border: 1px solid #3C376E; display: inline-block;"
|
||||
>
|
||||
<%= gettext("Activate my account") %>
|
||||
{gettext("Activate my account")}
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
style="padding: 40px 20px 20px 20px; border-radius: 4px 4px 0px 0px; color: #3A384C; font-family: 'Roboto', Helvetica, Arial, sans-serif; font-size: 48px; font-weight: 400; line-height: 48px;"
|
||||
>
|
||||
<h1 style="font-size: 48px; font-weight: 400; margin: 0;">
|
||||
<%= gettext("New report on <b>%{instance}</b>", instance: @instance_name) |> raw %>
|
||||
{gettext("New report on <b>%{instance}</b>", instance: @instance_name) |> raw}
|
||||
</h1>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -45,16 +45,16 @@
|
||||
>
|
||||
<p style="margin: 0;">
|
||||
<%= if @report.reporter.type == :Application and @report.reporter.preferred_username == "relay" do %>
|
||||
<%= gettext(
|
||||
{gettext(
|
||||
"Someone on <b>%{instance}</b> reported the following content for you to analyze:",
|
||||
instance: escape_html(@report.reporter.domain)
|
||||
)
|
||||
|> raw %>
|
||||
|> raw}
|
||||
<% else %>
|
||||
<%= gettext("<b>%{reporter}</b> reported the following content.",
|
||||
{gettext("<b>%{reporter}</b> reported the following content.",
|
||||
reporter: escape_html(display_name_and_username(@report.reporter))
|
||||
)
|
||||
|> raw %>
|
||||
|> raw}
|
||||
<% end %>
|
||||
</p>
|
||||
</td>
|
||||
@@ -68,18 +68,18 @@
|
||||
>
|
||||
<p style="margin: 0;">
|
||||
<%= if @report.reported.type == :Group do %>
|
||||
<h3><%= gettext("Group reported") %></h3>
|
||||
<h3>{gettext("Group reported")}</h3>
|
||||
<a
|
||||
href={
|
||||
"#{"#{Mobilizon.Web.Endpoint.url()}/@#{Mobilizon.Actors.Actor.preferred_username_and_domain(@report.reported)}"}"
|
||||
}
|
||||
target="_blank"
|
||||
>
|
||||
<b><%= Mobilizon.Actors.Actor.display_name_and_username(@report.reported) %></b>
|
||||
<b>{Mobilizon.Actors.Actor.display_name_and_username(@report.reported)}</b>
|
||||
</a>
|
||||
<% else %>
|
||||
<h3><%= gettext("Profile reported") %></h3>
|
||||
<b><%= Mobilizon.Actors.Actor.display_name_and_username(@report.reported) %></b>
|
||||
<h3>{gettext("Profile reported")}</h3>
|
||||
<b>{Mobilizon.Actors.Actor.display_name_and_username(@report.reported)}</b>
|
||||
<% end %>
|
||||
</p>
|
||||
<table
|
||||
@@ -112,17 +112,17 @@
|
||||
style="padding: 20px 30px 0px 30px; color: #474467; font-family: 'Roboto', Helvetica, Arial, sans-serif; font-size: 18px; font-weight: 400; line-height: 25px;"
|
||||
>
|
||||
<p style="margin: 0;">
|
||||
<h3><%= gettext("Flagged events") %></h3>
|
||||
<h3>{gettext("Flagged events")}</h3>
|
||||
<%= for event <- @report.events do %>
|
||||
<a
|
||||
href={"#{"#{Mobilizon.Web.Endpoint.url()}/events/#{event.uuid}"}"}
|
||||
target="_blank"
|
||||
>
|
||||
<%= gettext("%{title} by %{creator}",
|
||||
{gettext("%{title} by %{creator}",
|
||||
title: event.title,
|
||||
creator:
|
||||
Mobilizon.Actors.Actor.preferred_username_and_domain(@report.reported)
|
||||
) %>
|
||||
)}
|
||||
</a>
|
||||
<% end %>
|
||||
</p>
|
||||
@@ -155,10 +155,10 @@
|
||||
align="left"
|
||||
style="padding: 20px 30px 0px 30px; color: #474467; font-family: 'Roboto', Helvetica, Arial, sans-serif; font-size: 18px; font-weight: 400; line-height: 25px;"
|
||||
>
|
||||
<h3><%= gettext("Flagged comments") %></h3>
|
||||
<h3>{gettext("Flagged comments")}</h3>
|
||||
<%= for comment <- @report.comments do %>
|
||||
<p style="margin: 0;">
|
||||
<%= Mobilizon.Service.Formatter.HTML.strip_tags(comment.text) %>
|
||||
{Mobilizon.Service.Formatter.HTML.strip_tags(comment.text)}
|
||||
</p>
|
||||
<% end %>
|
||||
<table
|
||||
@@ -191,8 +191,8 @@
|
||||
style="padding: 20px 30px 0px 30px; color: #474467; font-family: 'Roboto', Helvetica, Arial, sans-serif; font-size: 18px; font-weight: 400; line-height: 25px;"
|
||||
>
|
||||
<p style="margin: 0">
|
||||
<h3><%= gettext("Reasons for report") %></h3>
|
||||
<%= @report.content %>
|
||||
<h3>{gettext("Reasons for report")}</h3>
|
||||
{@report.content}
|
||||
</p>
|
||||
<table
|
||||
cellspacing="0"
|
||||
@@ -232,7 +232,7 @@
|
||||
target="_blank"
|
||||
style="font-size: 20px; font-family: Helvetica, Arial, sans-serif; color: #ffffff; text-decoration: none; padding: 15px 25px; border-radius: 2px; border: 1px solid #3C376E; display: inline-block;"
|
||||
>
|
||||
<%= gettext("View report") %>
|
||||
{gettext("View report")}
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
style="padding: 40px 20px 20px 20px; border-radius: 4px 4px 0px 0px; color: #3A384C; font-family: 'Roboto', Helvetica, Arial, sans-serif; font-size: 48px; font-weight: 400; line-height: 48px;"
|
||||
>
|
||||
<h1 style="font-size: 48px; font-weight: 400; margin: 0;">
|
||||
<%= gettext("New pending user on <b>%{instance}</b>", instance: @instance_name) |> raw %>
|
||||
{gettext("New pending user on <b>%{instance}</b>", instance: @instance_name) |> raw}
|
||||
</h1>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -44,11 +44,11 @@
|
||||
style="padding: 20px 30px 0px 30px; color: #474467; font-family: 'Roboto', Helvetica, Arial, sans-serif; font-size: 18px; font-weight: 400; line-height: 25px;"
|
||||
>
|
||||
<p style="margin: 0;">
|
||||
<%= gettext("New pending user from %{user} on %{instance}",
|
||||
{gettext("New pending user from %{user} on %{instance}",
|
||||
user: @user.email,
|
||||
instance: @instance_name
|
||||
)
|
||||
|> raw %>
|
||||
|> raw}
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -59,7 +59,7 @@
|
||||
target="_blank"
|
||||
style="font-size: 20px; font-family: Helvetica, Arial, sans-serif; color: #ffffff; text-decoration: none; padding: 15px 25px; border-radius: 2px; border: 1px solid #3C376E; display: inline-block;"
|
||||
>
|
||||
<%= gettext("Login to view the list of pending users") %>
|
||||
{gettext("Login to view the list of pending users")}
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
Reference in New Issue
Block a user