From 14f67988369ac66757325b4c4fbca185ad133bdf Mon Sep 17 00:00:00 2001 From: gunchleoc Date: Wed, 6 Sep 2023 17:49:52 +0200 Subject: [PATCH] Link to hashtag timelines from the Trending hashtags moderation interface (#26724) Co-authored-by: Claire --- app/views/admin/trends/tags/_tag.html.haml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/views/admin/trends/tags/_tag.html.haml b/app/views/admin/trends/tags/_tag.html.haml index 3bbdd08db..72f8178ef 100644 --- a/app/views/admin/trends/tags/_tag.html.haml +++ b/app/views/admin/trends/tags/_tag.html.haml @@ -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)) ยท