mirror of
https://github.com/mastodon/mastodon.git
synced 2024-11-21 21:57:19 +00:00
Separate the app store links from inner image markup
This commit is contained in:
parent
eeff6deb45
commit
255a111b4e
|
@ -29,8 +29,16 @@
|
|||
%div
|
||||
- if defined?(show_apps_buttons) && show_apps_buttons
|
||||
.email-welcome-apps-btns
|
||||
= link_to image_tag(frontend_asset_url('images/mailer-new/store-icons/btn-app-store.png'), alt: t('user_mailer.welcome.apps_ios_action'), width: 120, height: 40), 'https://apps.apple.com/app/mastodon-for-iphone-and-ipad/id1571998974'
|
||||
= link_to image_tag(frontend_asset_url('images/mailer-new/store-icons/btn-google-play.png'), alt: t('user_mailer.welcome.apps_android_action'), width: 120, height: 40), 'https://play.google.com/store/apps/details?id=org.joinmastodon.android'
|
||||
= link_to 'https://apps.apple.com/app/mastodon-for-iphone-and-ipad/id1571998974' do
|
||||
= image_tag frontend_asset_url('images/mailer-new/store-icons/btn-app-store.png'),
|
||||
alt: t('user_mailer.welcome.apps_ios_action'),
|
||||
height: 40,
|
||||
width: 120
|
||||
= link_to 'https://play.google.com/store/apps/details?id=org.joinmastodon.android' do
|
||||
= image_tag frontend_asset_url('images/mailer-new/store-icons/btn-google-play.png'),
|
||||
alt: t('user_mailer.welcome.apps_android_action'),
|
||||
height: 40,
|
||||
width: 120
|
||||
- elsif defined?(button_text) && defined?(button_url) && defined?(checked) && !checked
|
||||
= render 'application/mailer/button', text: button_text, url: button_url, has_arrow: false
|
||||
/[if mso]
|
||||
|
|
Loading…
Reference in a new issue