show warning message for locked account

This commit is contained in:
nightpool 2019-06-15 10:50:04 -04:00 committed by chr
parent 84bf5ca175
commit 13fc93fa63
2 changed files with 11 additions and 0 deletions

View File

@ -298,6 +298,12 @@
min-height: 1px;
}
h2 {
font-size: 1rem;
align-items: center;
display: flex;
}
.nav-left {
display: flex;
align-items: stretch;

View File

@ -21,6 +21,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