Before Width: | Height: | Size: 547 B After Width: | Height: | Size: 547 B |
After Width: | Height: | Size: 1.3 KiB |
After Width: | Height: | Size: 2.0 KiB |
After Width: | Height: | Size: 4.4 KiB |
After Width: | Height: | Size: 2.2 KiB |
Before Width: | Height: | Size: 1.0 KiB After Width: | Height: | Size: 1.0 KiB |
After Width: | Height: | Size: 94 KiB |
After Width: | Height: | Size: 88 KiB |
After Width: | Height: | Size: 127 KiB |
After Width: | Height: | Size: 98 KiB |
Before Width: | Height: | Size: 505 B After Width: | Height: | Size: 505 B |
After Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 688 B After Width: | Height: | Size: 688 B |
After Width: | Height: | Size: 1.5 KiB |
After Width: | Height: | Size: 939 B |
After Width: | Height: | Size: 2.5 KiB |
Before Width: | Height: | Size: 709 B After Width: | Height: | Size: 709 B |
After Width: | Height: | Size: 1.6 KiB |
@ -1,4 +1,7 @@
|
||||
%table.email-btn-table{ cellspacing: 0, cellpadding: 0, border: 0, role: 'presentation' }
|
||||
%tr
|
||||
%td.email-btn-td
|
||||
= link_to "#{text} ➜", url, class: 'email-btn-a email-btn-hover'
|
||||
- if defined?(has_arrow) && !has_arrow
|
||||
= link_to text, url, class: 'email-btn-a email-btn-hover'
|
||||
- else
|
||||
= link_to "#{text} ➜", url, class: 'email-btn-a email-btn-hover'
|
||||
|
@ -0,0 +1,15 @@
|
||||
%table.email-w-full{ cellspacing: 0, cellpadding: 0, border: 0, role: 'presentation' }
|
||||
%tr
|
||||
%td.email-mini-wrapper-td
|
||||
%table.email-w-full{ cellspacing: 0, cellpadding: 0, border: 0, role: 'presentation' }
|
||||
%tr
|
||||
%td.email-mini-td
|
||||
%table.email-w-full{ cellspacing: 0, cellpadding: 0, border: 0, role: 'presentation' }
|
||||
%tr
|
||||
%td.email-mini-follow-img-td
|
||||
= image_tag full_asset_url(follow.account.avatar.url), alt: '', width: 40, height: 40
|
||||
%td.email-mini-follow-text-td
|
||||
%h3= follow.account.display_name.presence || follow.account.username
|
||||
%p @#{follow.account.pretty_acct}
|
||||
%td.email-mini-follow-btn-td
|
||||
= render 'application/mailer/button', text: t('user_mailer.welcome.follow_action'), url: web_url("@#{follow.account.acct}"), has_arrow: false
|
@ -0,0 +1,20 @@
|
||||
- accounts = hashtag.statuses.with_public_visibility.joins(:account).merge(Account.without_suspended.without_silenced).includes(:account).limit(3).map(&:account)
|
||||
|
||||
%table.email-w-full{ cellspacing: 0, cellpadding: 0, border: 0, role: 'presentation' }
|
||||
%tr
|
||||
%td.email-mini-wrapper-td
|
||||
%table.email-w-full{ cellspacing: 0, cellpadding: 0, border: 0, role: 'presentation' }
|
||||
%tr
|
||||
%td.email-mini-td
|
||||
%table.email-w-full{ cellspacing: 0, cellpadding: 0, border: 0, role: 'presentation' }
|
||||
%tr
|
||||
%td.email-mini-hashtag-td{ height: 40 }
|
||||
%h3 ##{hashtag.display_name}
|
||||
%table.email-w-full{ cellspacing: 0, cellpadding: 0, border: 0, role: 'presentation' }
|
||||
%tr
|
||||
%td.email-mini-hashtag-img-td
|
||||
- accounts.each do |account|
|
||||
%span.email-mini-hashtag-img-span
|
||||
= image_tag full_asset_url(account.avatar.url), alt: '', width: 16, height: 16
|
||||
%td
|
||||
%p= t('user_mailer.welcome.hashtags_recent_count', people: number_with_delimiter(hashtag.history.aggregate(2.days.ago.to_date..Time.zone.today).accounts), days: 2)
|
@ -1,16 +1,78 @@
|
||||
<%= t 'user_mailer.welcome.title', name: @resource.account.username %> <%= t 'user_mailer.welcome.explanation' %>
|
||||
|
||||
---
|
||||
|
||||
<%= t('user_mailer.welcome.sign_in_action') %>
|
||||
===
|
||||
<%= new_user_session_url %>
|
||||
|
||||
---
|
||||
|
||||
<%= t('user_mailer.welcome.checklist_title') %>
|
||||
===
|
||||
<%= t('user_mailer.welcome.checklist_subtitle') %>
|
||||
|
||||
1. <%= t('user_mailer.welcome.edit_profile_title') %>
|
||||
<%= t('user_mailer.welcome.edit_profile_step') %>
|
||||
* <%= web_url('start/profile') %>
|
||||
|
||||
2. <%= t('user_mailer.welcome.follow_title') %>
|
||||
<%= t('user_mailer.welcome.follow_step') %>
|
||||
* <%= web_url('start/follows') %>
|
||||
|
||||
3. <%= t('user_mailer.welcome.post_title') %>
|
||||
<%= t('user_mailer.welcome.post_step') %>
|
||||
* <%= web_url %>
|
||||
|
||||
4. <%= t('user_mailer.welcome.share_title') %>
|
||||
<%= t('user_mailer.welcome.share_step') %>
|
||||
* <%= web_url('start/share') %>
|
||||
|
||||
5. <%= t('user_mailer.welcome.apps_title') %>
|
||||
<%= t('user_mailer.welcome.apps_step') %>
|
||||
* iOS: https://apps.apple.com/app/mastodon-for-iphone-and-ipad/id1571998974
|
||||
* Android: https://play.google.com/store/apps/details?id=org.joinmastodon.android
|
||||
|
||||
---
|
||||
|
||||
<%= t('user_mailer.welcome.follows_title') %>
|
||||
===
|
||||
<%= t('user_mailer.welcome.follows_subtitle') %>
|
||||
|
||||
<%= t 'user_mailer.welcome.full_handle' %> (<%= "@#{@resource.account.local_username_and_domain}" %>)
|
||||
<%= t 'user_mailer.welcome.full_handle_hint', instance: @instance %>
|
||||
<%- @suggestions.each do |suggestion| %>
|
||||
* <%= suggestion.account.display_name.presence || suggestion.account.username %> · @<%= suggestion.account.pretty_acct %>
|
||||
<%= web_url("@#{suggestion.account.acct}") %>
|
||||
<%- end %>
|
||||
|
||||
<%= web_url('explore/suggestions') %>
|
||||
|
||||
---
|
||||
|
||||
<%= t 'user_mailer.welcome.edit_profile_step' %>
|
||||
<%= t('user_mailer.welcome.hashtags_title') %>
|
||||
===
|
||||
<%= t('user_mailer.welcome.hashtags_subtitle') %>
|
||||
|
||||
=> <%= settings_profile_url %>
|
||||
<%- @tags.each do |tag| %>
|
||||
* #<%= tag.display_name %> · <%= t('user_mailer.welcome.hashtags_recent_count', people: number_with_delimiter(tag.history.aggregate(2.days.ago.to_date..Time.zone.today).accounts), days: 2) %>
|
||||
<%= tag_url(tag) %>
|
||||
<%- end %>
|
||||
|
||||
<%= t 'user_mailer.welcome.final_step' %>
|
||||
<%= web_url('explore/tags') %>
|
||||
|
||||
=> <%= web_url %>
|
||||
---
|
||||
|
||||
<%= t('user_mailer.welcome.feature_control_title') %>
|
||||
===
|
||||
<%= word_wrap t('user_mailer.welcome.feature_control') %>
|
||||
|
||||
<%= t('user_mailer.welcome.feature_audience_title') %>
|
||||
===
|
||||
<%= word_wrap t('user_mailer.welcome.feature_audience') %>
|
||||
|
||||
<%= t('user_mailer.welcome.feature_moderation_title') %>
|
||||
===
|
||||
<%= word_wrap t('user_mailer.welcome.feature_moderation') %>
|
||||
|
||||
<%= t('user_mailer.welcome.feature_creativity_title') %>
|
||||
===
|
||||
<%= word_wrap t('user_mailer.welcome.feature_creativity') %>
|
||||
|