show warning message for locked account
This commit is contained in:
parent
9e87a069bd
commit
4f9f95d38f
|
@ -298,6 +298,12 @@
|
|||
min-height: 1px;
|
||||
}
|
||||
|
||||
h2 {
|
||||
font-size: 1rem;
|
||||
align-items: center;
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.nav-left {
|
||||
display: flex;
|
||||
align-items: stretch;
|
||||
|
|
|
@ -19,6 +19,11 @@
|
|||
|
||||
= render 'header', account: @account, with_bio: true
|
||||
|
||||
- if @account.user&.disabled?
|
||||
.header
|
||||
.nav-center
|
||||
%h2 This user's account has been locked by a moderator.
|
||||
|
||||
.grid
|
||||
.column-0
|
||||
.h-feed
|
||||
|
|
Loading…
Reference in New Issue