mirror of
https://github.com/mastodon/mastodon.git
synced 2024-12-23 15:42:34 +01:00
Fixed not being able to display review pending hashtags in the admin UI. (#11875)
This commit is contained in:
parent
b671b91211
commit
75c6ad500d
3 changed files with 3 additions and 3 deletions
|
@ -23,7 +23,7 @@
|
||||||
.dashboard__counters__num= number_to_human @reports_count, strip_insignificant_zeros: true
|
.dashboard__counters__num= number_to_human @reports_count, strip_insignificant_zeros: true
|
||||||
.dashboard__counters__label= t 'admin.dashboard.open_reports'
|
.dashboard__counters__label= t 'admin.dashboard.open_reports'
|
||||||
%div
|
%div
|
||||||
= link_to admin_tags_path(review: 'pending_review') do
|
= link_to admin_tags_path(pending_review: '1') do
|
||||||
.dashboard__counters__num= number_to_human @pending_tags_count, strip_insignificant_zeros: true
|
.dashboard__counters__num= number_to_human @pending_tags_count, strip_insignificant_zeros: true
|
||||||
.dashboard__counters__label= t 'admin.dashboard.pending_tags'
|
.dashboard__counters__label= t 'admin.dashboard.pending_tags'
|
||||||
%div
|
%div
|
||||||
|
|
|
@ -66,7 +66,7 @@
|
||||||
|
|
||||||
= paginate @tags
|
= paginate @tags
|
||||||
|
|
||||||
- if params[:review] == 'pending_review'
|
- if params[:pending_review] == '1'
|
||||||
%hr.spacer/
|
%hr.spacer/
|
||||||
|
|
||||||
%div{ style: 'overflow: hidden' }
|
%div{ style: 'overflow: hidden' }
|
||||||
|
|
|
@ -2,4 +2,4 @@
|
||||||
|
|
||||||
<%= raw t('admin_mailer.new_trending_tag.body', name: @tag.name) %>
|
<%= raw t('admin_mailer.new_trending_tag.body', name: @tag.name) %>
|
||||||
|
|
||||||
<%= raw t('application_mailer.view')%> <%= admin_tags_url(review: 'pending_review') %>
|
<%= raw t('application_mailer.view')%> <%= admin_tags_url(pending_review: '1') %>
|
||||||
|
|
Loading…
Reference in a new issue