mirror of
https://github.com/mastodon/mastodon.git
synced 2024-10-20 16:46:08 +00:00
6e50134a42
* Add trending links * Add overriding specific links trendability * Add link type to preview cards and only trend articles Change trends review notifications from being sent every 5 minutes to being sent every 2 hours Change threshold from 5 unique accounts to 15 unique accounts * Fix tests
17 lines
810 B
Plaintext
17 lines
810 B
Plaintext
.batch-table__row{ class: [preview_card_provider.requires_review? && 'batch-table__row--attention', !preview_card_provider.requires_review? && !preview_card_provider.trendable? && 'batch-table__row--muted'] }
|
|
%label.batch-table__row__select.batch-table__row__select--aligned.batch-checkbox
|
|
= f.check_box :preview_card_provider_ids, { multiple: true, include_hidden: false }, preview_card_provider.id
|
|
|
|
.batch-table__row__content.pending-account
|
|
.pending-account__header
|
|
%strong= preview_card_provider.domain
|
|
|
|
%br/
|
|
|
|
- if preview_card_provider.requires_review?
|
|
= t('admin.trends.pending_review')
|
|
- elsif preview_card_provider.trendable?
|
|
= t('admin.trends.preview_card_providers.allowed')
|
|
- else
|
|
= t('admin.trends.preview_card_providers.rejected')
|