Browse Source

show warning message for locked account

cybrespace
nightpool 1 year ago
parent
commit
c296d35be4
2 changed files with 11 additions and 0 deletions
  1. +6
    -0
      app/javascript/styles/mastodon/containers.scss
  2. +5
    -0
      app/views/accounts/show.html.haml

+ 6
- 0
app/javascript/styles/mastodon/containers.scss View File

@@ -229,6 +229,12 @@
min-height: 1px;
}

h2 {
font-size: 1rem;
align-items: center;
display: flex;
}

.nav-left {
display: flex;
align-items: stretch;


+ 5
- 0
app/views/accounts/show.html.haml View File

@@ -23,6 +23,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…
Cancel
Save