1
0
mirror of https://github.com/mastodon/mastodon synced 2024-12-01 16:28:19 +09:00
mastodon/app/views/notification_mailer/_status.text.erb
Claire e1227457f1
Fix links to the Web UI in notifications (#19981)
Most of the old routes are broken because of the /web removal.
2022-11-07 15:42:58 +01:00

9 lines
301 B
Plaintext

<% if status.spoiler_text? %>
> <%= raw word_wrap(status.spoiler_text, break_sequence: "\n> ") %>
> ----
>
<% end %>
> <%= raw word_wrap(extract_status_plain_text(status), break_sequence: "\n> ") %>
<%= raw t('application_mailer.view')%> <%= web_url("@#{status.account.pretty_acct}/#{status.id}") %>