Add reviewed
and unreviewed
scopes to Reviewable
model concern (#31988)
This commit is contained in:
parent
c922af2737
commit
04a939d640
7 changed files with 33 additions and 23 deletions
|
@ -12,7 +12,7 @@
|
|||
%li= filter_link_to t('generic.all'), status: nil
|
||||
%li= filter_link_to t('admin.trends.approved'), status: 'approved'
|
||||
%li= filter_link_to t('admin.trends.rejected'), status: 'rejected'
|
||||
%li= filter_link_to safe_join([t('admin.accounts.moderation.pending'), "(#{PreviewCardProvider.pending_review.count})"], ' '), status: 'pending_review'
|
||||
%li= filter_link_to safe_join([t('admin.accounts.moderation.pending'), "(#{PreviewCardProvider.unreviewed.count})"], ' '), status: 'pending_review'
|
||||
.back-link
|
||||
= link_to admin_trends_links_path do
|
||||
= material_symbol 'chevron_left'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue