Change mailer image url (#6279)

* Change image URL in mailer to full path

* Add application_mailer.view_profile localization.
lolsob-rspec
mayaeh 2018-01-17 20:41:24 +09:00 committed by Eugen Rochko
parent 000b0baac2
commit ef20e5d3fd
6 changed files with 6 additions and 5 deletions

View File

@ -17,7 +17,7 @@
%tbody %tbody
%tr %tr
%td %td
= image_tag asset_pack_path('icon_grade.svg') = image_tag full_pack_url('icon_grade.svg'), alt:''
%h1= t 'notification_mailer.favourite.title' %h1= t 'notification_mailer.favourite.title'
%p.lead= t('notification_mailer.favourite.body', name: @account.acct) %p.lead= t('notification_mailer.favourite.body', name: @account.acct)

View File

@ -17,7 +17,7 @@
%tbody %tbody
%tr %tr
%td %td
= image_tag asset_pack_path('icon_person_add.svg') = image_tag full_pack_url('icon_person_add.svg'), alt: ''
%h1= t 'notification_mailer.follow.title' %h1= t 'notification_mailer.follow.title'
%p.lead= t('notification_mailer.follow.body', name: @account.acct) %p.lead= t('notification_mailer.follow.body', name: @account.acct)

View File

@ -17,7 +17,7 @@
%tbody %tbody
%tr %tr
%td %td
= image_tag asset_pack_path('icon_person_add.svg') = image_tag full_pack_url('icon_person_add.svg'), alt: ''
%h1= t 'notification_mailer.follow_request.title' %h1= t 'notification_mailer.follow_request.title'
%p.lead= t('notification_mailer.follow_request.body', name: @account.acct) %p.lead= t('notification_mailer.follow_request.body', name: @account.acct)

View File

@ -17,7 +17,7 @@
%tbody %tbody
%tr %tr
%td %td
= image_tag asset_pack_path('icon_reply.svg') = image_tag full_pack_url('icon_reply.svg'), alt: ''
%h1= t 'notification_mailer.mention.title' %h1= t 'notification_mailer.mention.title'
%p.lead= t('notification_mailer.mention.body', name: @status.account.acct) %p.lead= t('notification_mailer.mention.body', name: @status.account.acct)

View File

@ -17,7 +17,7 @@
%tbody %tbody
%tr %tr
%td %td
= image_tag asset_pack_path('icon_cached.svg') = image_tag full_pack_url('icon_cached.svg'), alt: ''
%h1= t 'notification_mailer.reblog.title' %h1= t 'notification_mailer.reblog.title'
%p.lead= t('notification_mailer.reblog.body', name: @account.acct) %p.lead= t('notification_mailer.reblog.body', name: @account.acct)

View File

@ -343,6 +343,7 @@ en:
settings: 'Change e-mail preferences: %{link}' settings: 'Change e-mail preferences: %{link}'
signature: Mastodon notifications from %{instance} signature: Mastodon notifications from %{instance}
view: 'View:' view: 'View:'
view_profile: View Profile
view_status: View status view_status: View status
applications: applications:
created: Application successfully created created: Application successfully created