From aeebcef7e229193331cc8de7642ad9a05a115017 Mon Sep 17 00:00:00 2001 From: Robin Ward Date: Thu, 7 Dec 2017 13:26:41 -0500 Subject: [PATCH] FIX: Don't show the email from the suspension on the user profile --- app/assets/javascripts/admin/templates/user-index.hbs | 4 ++-- app/assets/stylesheets/common/admin/admin_base.scss | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/assets/javascripts/admin/templates/user-index.hbs b/app/assets/javascripts/admin/templates/user-index.hbs index 1c80f0fd1fb..96f962a0b50 100644 --- a/app/assets/javascripts/admin/templates/user-index.hbs +++ b/app/assets/javascripts/admin/templates/user-index.hbs @@ -342,7 +342,7 @@
{{i18n 'admin.user.suspend_reason'}}: -
{{model.full_suspend_reason}}
+
{{model.full_suspend_reason}}
{{/if}} @@ -387,7 +387,7 @@
{{i18n 'admin.user.silence_reason'}}: - {{model.silence_reason}} +
{{model.silence_reason}}
{{/if}} diff --git a/app/assets/stylesheets/common/admin/admin_base.scss b/app/assets/stylesheets/common/admin/admin_base.scss index 42cf3d86139..fa14d12f5f1 100644 --- a/app/assets/stylesheets/common/admin/admin_base.scss +++ b/app/assets/stylesheets/common/admin/admin_base.scss @@ -177,7 +177,7 @@ $mobile-breakpoint: 700px; } } -.full-suspend-reason { +.full-reason { white-space: pre-wrap; }