Remove priority action views and links
This commit is contained in:
parent
fafefc3dc0
commit
7623213f96
|
@ -1,2 +0,0 @@
|
|||
%a.btn.btn-default.btn-block{ href: moderation_priority_path(user.id) }
|
||||
View reports relating to user
|
|
@ -28,8 +28,6 @@
|
|||
- if report.target.respond_to?(:user) && report.target.user
|
||||
%a.btn.btn-primary{ href: show_user_profile_path(report.target.user.screen_name) }
|
||||
= t('views.moderation.moderationbox.view', content: t('views.general.user'))
|
||||
%a.btn.btn-primary{ href: moderation_priority_path(report.target.user.id) }
|
||||
Reports
|
||||
.col-md-4.col-sm-4.col-xs-4.text-right
|
||||
%button.btn.btn-default.btn-sm{ type: :button, name: 'mod-delete-report', data: { id: report.id } }
|
||||
%i.fa.fa-trash-o
|
||||
|
|
|
@ -1,21 +0,0 @@
|
|||
.card.h-100.userbox
|
||||
%img.userbox__header{ src: user.profile_header.url(:mobile) }
|
||||
.card-body
|
||||
%img.userbox__avatar{ src: user.profile_picture.url(:small) }
|
||||
%a.profile__name{ href: show_user_profile_path(user.screen_name) }
|
||||
- unless user.profile.display_name.blank?
|
||||
.profile__display-name
|
||||
= user.profile.display_name
|
||||
.profile__screen-name
|
||||
= user.screen_name
|
||||
.row
|
||||
.col-md-12.col-sm-12.col-xs-12
|
||||
- if count.positive?
|
||||
%h4.entry-text.text-center#asked-count
|
||||
= count
|
||||
= 'Report'.pluralize(count)
|
||||
%br
|
||||
%br
|
||||
- else
|
||||
%br
|
||||
= render 'actions', user: user
|
|
@ -1,10 +0,0 @@
|
|||
%h2
|
||||
- if @host.nil?
|
||||
Users sorted by reports
|
||||
- else
|
||||
Users with the same IP
|
||||
#users
|
||||
.row.row-cols-1.row-cols-sm-2.row-cols-md-3
|
||||
- @users.each do |u, c|
|
||||
.col.pb-3
|
||||
= render 'moderation/userbox', user: u, count: (c || 0)
|
|
@ -10,4 +10,3 @@
|
|||
= nav_entry t('views.general.comment').pluralize(2), moderation_path('comment')
|
||||
= nav_entry t('views.general.user').pluralize(2), moderation_path('user')
|
||||
= nav_entry t('views.general.question').pluralize(2), moderation_path('question')
|
||||
= nav_entry 'Priority', moderation_priority_path
|
||||
|
|
|
@ -5,6 +5,5 @@
|
|||
= list_group_item t('views.general.comment').pluralize(2), moderation_path('comment')
|
||||
= list_group_item t('views.general.user').pluralize(2), moderation_path('user')
|
||||
= list_group_item t('views.general.question').pluralize(2), moderation_path('question')
|
||||
= list_group_item 'Priority', moderation_priority_path
|
||||
|
||||
.d-none.d-sm-block= render 'shared/links'
|
||||
|
|
Loading…
Reference in New Issue