cartodb-4.42/app/views/user_mailer/trending_map.html.erb

8 lines
695 B
Plaintext
Raw Normal View History

2024-04-06 13:25:13 +08:00
<%- message = "<p style='margin: 0;'><img alt='Trophy' src='http://carto-email-assets.s3.amazonaws.com/trophy.png' width='15' height='15' style='display: inline-block; margin: 0 auto; vertical-align: middle;' border='0'> #{@greetings.sample.capitalize}! Your <strong>#{@map_name}</strong> has received more than <strong>#{number_to_human(@mapviews).downcase} map views</strong>!</p>" %>
<%= render partial: 'mailer_modules/neutral_message', locals: { message: message } %>
<%= render partial: 'mailer_modules/visualization_preview_image', locals: { preview_image: @preview_image } %>
<%= render partial: 'mailer_modules/link_to_action', locals: { link: @link, link_text: 'View your map' } %>