about summary refs log tree commit diff
path: root/app/views
diff options
context:
space:
mode:
authornightpool <nightpool@cybre.space>2019-06-15 10:50:04 -0400
committerchr <chr@cybre.space>2021-03-01 21:43:22 -0800
commit4f9f95d38f997c2b139c5310e824847fe102adb5 (patch)
tree6c0547d67a1e5edcabe31c66b7191cd78615f291 /app/views
parent9e87a069bd58abf4493276a4a7a1fb7ceffbda76 (diff)
show warning message for locked account
Diffstat (limited to 'app/views')
-rw-r--r--app/views/accounts/show.html.haml5
1 files changed, 5 insertions, 0 deletions
diff --git a/app/views/accounts/show.html.haml b/app/views/accounts/show.html.haml
index 1a81b96f6..aa2c83dec 100644
--- a/app/views/accounts/show.html.haml
+++ b/app/views/accounts/show.html.haml
@@ -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