diff options
author | Claire <claire.github-309c@sitedethib.com> | 2023-03-03 20:44:02 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-03 20:44:02 +0100 |
commit | f94aa70b814159964de660ac33bc797a1e01af30 (patch) | |
tree | 2f768fb8d7e6d2e7917264c7c16eae65d30cb673 /app | |
parent | a1347f456e47e085ef1031b607cabd0683c496c2 (diff) |
Fix error when displaying post history of a trendable post in the admin interface (#23574)
Diffstat (limited to 'app')
-rw-r--r-- | app/views/admin/statuses/show.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/admin/statuses/show.html.haml b/app/views/admin/statuses/show.html.haml index 62b49de8c..4631e97f1 100644 --- a/app/views/admin/statuses/show.html.haml +++ b/app/views/admin/statuses/show.html.haml @@ -34,7 +34,7 @@ %td - if @status.trend.allowed? %abbr{ title: t('admin.trends.tags.current_score', score: @status.trend.score) }= t('admin.trends.tags.trending_rank', rank: @status.trend.rank) - - elsif @status.trend.requires_review? + - elsif @status.requires_review? = t('admin.trends.pending_review') - else = t('admin.trends.not_allowed_to_trend') |