_new_trending_tags.text.erb 839 B

1234567891011121314
  1. <%= raw t('admin_mailer.new_trends.new_trending_tags.title') %>
  2. <% @tags.each do |tag| %>
  3. - #<%= tag.display_name %>
  4. <%= raw t('admin.trends.tags.usage_comparison', today: tag.history.get(Time.now.utc).accounts, yesterday: tag.history.get(Time.now.utc - 1.day).accounts) %> · <%= t('admin.trends.tags.current_score', score: Trends.tags.score(tag.id).round(2)) %>
  5. <% end %>
  6. <% if @lowest_trending_tag %>
  7. <%= raw t('admin_mailer.new_trends.new_trending_tags.requirements', lowest_tag_name: @lowest_trending_tag.display_name, lowest_tag_score: Trends.tags.score(@lowest_trending_tag.id).round(2), rank: Trends.tags.options[:review_threshold]) %>
  8. <% else %>
  9. <%= raw t('admin_mailer.new_trends.new_trending_tags.no_approved_tags') %>
  10. <% end %>
  11. <%= raw t('application_mailer.view')%> <%= admin_trends_tags_url(status: 'pending_review') %>