show warning message for locked account
This commit is contained in:
parent
1a6bdd61e9
commit
c296d35be4
|
@ -229,6 +229,12 @@
|
||||||
min-height: 1px;
|
min-height: 1px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
h2 {
|
||||||
|
font-size: 1rem;
|
||||||
|
align-items: center;
|
||||||
|
display: flex;
|
||||||
|
}
|
||||||
|
|
||||||
.nav-left {
|
.nav-left {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: stretch;
|
align-items: stretch;
|
||||||
|
|
|
@ -23,6 +23,11 @@
|
||||||
|
|
||||||
= render 'header', account: @account, with_bio: true
|
= 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
|
.grid
|
||||||
.column-0
|
.column-0
|
||||||
.h-feed
|
.h-feed
|
||||||
|
|
Loading…
Reference in New Issue