diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2022-03-15 07:51:55 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-15 07:51:55 +0100 |
commit | a7941176791ec8ad56e45efbb449b9d09a580a6b (patch) | |
tree | d2a8b6b7eb12be7e5a7e7fad67693f1f5d796039 /app/views/admin/trends/links | |
parent | 40a4dad4c8e63430a8027ab2ed3aca5526b0508a (diff) |
Fix individually approved/rejected statuses/links showing as pending review (#17787)
Diffstat (limited to 'app/views/admin/trends/links')
-rw-r--r-- | app/views/admin/trends/links/_preview_card.html.haml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/admin/trends/links/_preview_card.html.haml b/app/views/admin/trends/links/_preview_card.html.haml index d88e06bfd..2e6a0c62f 100644 --- a/app/views/admin/trends/links/_preview_card.html.haml +++ b/app/views/admin/trends/links/_preview_card.html.haml @@ -1,4 +1,4 @@ -.batch-table__row{ class: [preview_card.provider&.requires_review? && 'batch-table__row--attention', !preview_card.provider&.requires_review? && !preview_card.trendable? && 'batch-table__row--muted'] } +.batch-table__row{ class: [preview_card.requires_review? && 'batch-table__row--attention', !preview_card.requires_review? && !preview_card.trendable? && 'batch-table__row--muted'] } %label.batch-table__row__select.batch-table__row__select--aligned.batch-checkbox = f.check_box :preview_card_ids, { multiple: true, include_hidden: false }, preview_card.id @@ -25,6 +25,6 @@ - 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? + - elsif preview_card.requires_review? • = t('admin.trends.pending_review') |