You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
773 B

  1. <%= raw t('admin_mailer.new_trends.new_trending_statuses.title') %>
  2. <% @statuses.each do |status| %>
  3. - <%= ActivityPub::TagManager.instance.url_for(status) %>
  4. <%= raw t('admin.trends.tags.current_score', score: Trends.statuses.score(status.id).round(2)) %>
  5. <% end %>
  6. <% if @lowest_trending_status %>
  7. <%= raw t('admin_mailer.new_trends.new_trending_statuses.requirements', lowest_status_url: ActivityPub::TagManager.instance.url_for(@lowest_trending_status), lowest_status_score: Trends.statuses.score(@lowest_trending_status.id).round(2), rank: Trends.statuses.options[:review_threshold]) %>
  8. <% else %>
  9. <%= raw t('admin_mailer.new_trends.new_trending_statuses.no_approved_statuses') %>
  10. <% end %>
  11. <%= raw t('application_mailer.view')%> <%= admin_trends_statuses_url %>