WIP
This commit is contained in:
parent
9c273c2a59
commit
dd512c140b
81 changed files with 524 additions and 561 deletions
|
@ -42,4 +42,4 @@
|
|||
= link_to a.remote_url, a.remote_url
|
||||
|
||||
%p.status-footer
|
||||
= link_to l(status.created_at), web_url("statuses/#{status.id}")
|
||||
= link_to l(status.created_at), short_account_status_url(status.account.acct, status.id)
|
||||
|
|
|
@ -5,4 +5,4 @@
|
|||
<% end %>
|
||||
<%= raw Formatter.instance.plaintext(status) %>
|
||||
|
||||
<%= raw t('application_mailer.view')%> <%= web_url("statuses/#{status.id}") %>
|
||||
<%= raw t('application_mailer.view')%> <%= short_account_status_url(status.account.acct, status.id) %>
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
%tbody
|
||||
%tr
|
||||
%td.button-primary
|
||||
= link_to web_url do
|
||||
= link_to home_url do
|
||||
%span= t 'notification_mailer.digest.action'
|
||||
|
||||
- @notifications.each_with_index do |n, i|
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
|
||||
<%= raw Formatter.instance.plaintext(notification.target_status) %>
|
||||
|
||||
<%= raw t('application_mailer.view')%> <%= web_url("statuses/#{notification.target_status.id}") %>
|
||||
<%= raw t('application_mailer.view')%> <%= short_account_status_url(notification.target_status.account.acct, notification.target_status.id) %>
|
||||
<% end %>
|
||||
<% if @follows_since > 0 %>
|
||||
|
||||
|
|
|
@ -41,5 +41,5 @@
|
|||
%tbody
|
||||
%tr
|
||||
%td.button-primary
|
||||
= link_to web_url("statuses/#{@status.id}") do
|
||||
= link_to short_account_status_url(status.account.acct, status.id) do
|
||||
%span= t 'application_mailer.view_status'
|
||||
|
|
|
@ -39,5 +39,5 @@
|
|||
%tbody
|
||||
%tr
|
||||
%td.button-primary
|
||||
= link_to web_url("accounts/#{@account.id}") do
|
||||
= link_to short_account_url(@account.acct) do
|
||||
%span= t 'application_mailer.view_profile'
|
||||
|
|
|
@ -2,4 +2,4 @@
|
|||
|
||||
<%= raw t('notification_mailer.follow.body', name: @account.acct) %>
|
||||
|
||||
<%= raw t('application_mailer.view')%> <%= web_url("accounts/#{@account.id}") %>
|
||||
<%= raw t('application_mailer.view')%> <%= short_account_url(@account.acct) %>
|
||||
|
|
|
@ -39,5 +39,5 @@
|
|||
%tbody
|
||||
%tr
|
||||
%td.button-primary
|
||||
= link_to web_url("follow_requests") do
|
||||
= link_to follow_requests_url do
|
||||
%span= t 'notification_mailer.follow_request.action'
|
||||
|
|
|
@ -2,4 +2,4 @@
|
|||
|
||||
<%= raw t('notification_mailer.follow_request.body', name: @account.acct) %>
|
||||
|
||||
<%= raw t('application_mailer.view')%> <%= web_url("follow_requests") %>
|
||||
<%= raw t('application_mailer.view')%> <%= follow_requests_url %>
|
||||
|
|
|
@ -41,5 +41,5 @@
|
|||
%tbody
|
||||
%tr
|
||||
%td.button-primary
|
||||
= link_to web_url("statuses/#{@status.id}") do
|
||||
= link_to short_account_status_url(@status.account.acct, @status.id) do
|
||||
%span= t 'notification_mailer.mention.action'
|
||||
|
|
|
@ -41,5 +41,5 @@
|
|||
%tbody
|
||||
%tr
|
||||
%td.button-primary
|
||||
= link_to web_url("statuses/#{@status.id}") do
|
||||
= link_to short_account_status_url(@status.account.acct, @status.id) do
|
||||
%span= t 'application_mailer.view_status'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue