mirror of
https://github.com/Retrospring/retrospring.git
synced 2024-11-20 12:39:53 +01:00
Show actions to moderators on banned profiles
This commit is contained in:
parent
1914c56b05
commit
04d3e050ab
1 changed files with 1 additions and 1 deletions
|
@ -37,5 +37,5 @@
|
||||||
.profile__location
|
.profile__location
|
||||||
%i.fa.fa-fw.fa-location-arrow
|
%i.fa.fa-fw.fa-location-arrow
|
||||||
= user.profile.location
|
= user.profile.location
|
||||||
- unless user.banned?
|
- unless user.banned? && !current_user&.mod?
|
||||||
= render "user/actions", user: user, type: :follower
|
= render "user/actions", user: user, type: :follower
|
||||||
|
|
Loading…
Reference in a new issue