Link to hashtag timelines from the Trending hashtags moderation interface (#26724)

Co-authored-by: Claire <claire.github-309c@sitedethib.com>
lolsob-rspec
gunchleoc 2023-09-06 17:49:52 +02:00 committed by GitHub
parent 834bbc141e
commit dc423b33d5
1 changed files with 2 additions and 1 deletions

View File

@ -10,7 +10,8 @@
%br/
= t('admin.trends.tags.used_by_over_week', count: tag.history.reduce(0) { |sum, day| sum + day.accounts })
= link_to tag_path(tag), target: '_blank' do
= t('admin.trends.tags.used_by_over_week', count: tag.history.reduce(0) { |sum, day| sum + day.accounts })
- if tag.trendable? && (rank = Trends.tags.rank(tag.id))
·