diff options
author | Claire <claire.github-309c@sitedethib.com> | 2021-11-26 01:15:32 +0100 |
---|---|---|
committer | Claire <claire.github-309c@sitedethib.com> | 2021-11-26 01:15:32 +0100 |
commit | 3304df0ab559d9cec4da60a512460f26f07a56d3 (patch) | |
tree | 107a4d73b58a9b1c77962f87bf9f629340bce1c5 /app/views/admin/trends/links/_preview_card.html.haml | |
parent | afd71867bad4cc826656bd8931b25c8ea8317fff (diff) | |
parent | 12b3ff6c6d70df1ce34f4b103b519250c9e2d2c8 (diff) |
Merge branch 'main' into glitch-soc/merge-upstream
Diffstat (limited to 'app/views/admin/trends/links/_preview_card.html.haml')
-rw-r--r-- | app/views/admin/trends/links/_preview_card.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/admin/trends/links/_preview_card.html.haml b/app/views/admin/trends/links/_preview_card.html.haml index dfed13b68..b88c1be2f 100644 --- a/app/views/admin/trends/links/_preview_card.html.haml +++ b/app/views/admin/trends/links/_preview_card.html.haml @@ -22,7 +22,7 @@ • %abbr{ title: t('admin.trends.tags.current_score', score: Trends.links.score(preview_card.id)) }= t('admin.trends.tags.trending_rank', rank: rank + 1) - - if preview_card.max_score_at && preview_card.max_score_at >= Trends::Links::MAX_SCORE_COOLDOWN.ago && preview_card.max_score_at < 1.day.ago + - if preview_card.decaying? • = t('admin.trends.tags.peaked_on_and_decaying', date: l(preview_card.max_score_at.to_date, format: :short)) - elsif preview_card.provider&.requires_review? |