Fix error when displaying post history of a trendable post in the admin interface (#23574)

lolsob-rspec
Claire 2023-03-03 20:44:02 +01:00 committed by GitHub
parent f5fe444913
commit 05ef604007
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@
%td %td
- if @status.trend.allowed? - 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) %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') = t('admin.trends.pending_review')
- else - else
= t('admin.trends.not_allowed_to_trend') = t('admin.trends.not_allowed_to_trend')