
<%= gettext("We're sorry, but something went wrong on our end.") %>
<%= gettext("The Mobilizon server %{instance} seems to be temporarily down.",
instance: "#{@instance}"
)
|> raw %>
<%= if is_nil(@contact) do %>
<%= gettext("If the issue persists, you may try to contact the server administrator.") %>
<% else %>
<%= gettext(
"If the issue persists, you may contact the server administrator at %{contact}.",
contact:
cond do
String.contains?(@contact, "@") ->
"#{@contact}"
String.match?(@contact, ~r/^https?:\/\/.*/) ->
"#{@contact}"
true ->
@contact
end
)
|> raw %>
<% end %>