Browse Source

show warning message for locked account

nightpool 4 months ago
parent
commit
c296d35be4

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

@@ -229,6 +229,12 @@
229 229
       min-height: 1px;
230 230
     }
231 231
 
232
+    h2 {
233
+      font-size: 1rem;
234
+      align-items: center;
235
+      display: flex;
236
+    }
237
+
232 238
     .nav-left {
233 239
       display: flex;
234 240
       align-items: stretch;

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

@@ -23,6 +23,11 @@
23 23
 
24 24
 = render 'header', account: @account, with_bio: true
25 25
 
26
+- if @account.user&.disabled?
27
+  .header
28
+    .nav-center
29
+      %h2 This user's account has been locked by a moderator.
30
+
26 31
 .grid
27 32
   .column-0
28 33
     .h-feed

Loading…
Cancel
Save