Add descriptions to trending features in admin UI (#17677)

This commit is contained in:
Eugen Rochko
2022-03-02 18:57:44 +01:00
committed by GitHub
parent e24b14cc74
commit 9b58fb1ea4
6 changed files with 24 additions and 1 deletions

View File

@ -22,6 +22,9 @@
- if status.language.present?
= standard_locale_name(status.language)
- if status.trendable? && !status.account.discoverable?
= t('admin.trends.statuses.not_discoverable')
- if status.trendable? && (rank = Trends.statuses.rank(status.id))
%abbr{ title: t('admin.trends.tags.current_score', score: Trends.statuses.score(status.id)) }= t('admin.trends.tags.trending_rank', rank: rank + 1)