From 68660cb9ac00a07fe1b13507792048537e2a9b99 Mon Sep 17 00:00:00 2001 From: cpradio Date: Tue, 27 Oct 2015 09:57:01 -0400 Subject: [PATCH] UX: Add custom classes to the profile page to permit hiding the invited_by and trust_level fields --- app/assets/javascripts/discourse/templates/user/user.hbs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/assets/javascripts/discourse/templates/user/user.hbs b/app/assets/javascripts/discourse/templates/user/user.hbs index c52d241ef01..1f61a722dee 100644 --- a/app/assets/javascripts/discourse/templates/user/user.hbs +++ b/app/assets/javascripts/discourse/templates/user/user.hbs @@ -122,9 +122,9 @@ {{/if}}
{{i18n 'views'}}
{{model.profile_view_count}}
{{#if model.invited_by}} -
{{i18n 'user.invited_by'}}
{{#link-to 'user' model.invited_by}}{{model.invited_by.username}}{{/link-to}}
+
{{i18n 'user.invited_by'}}
{{#link-to 'user' model.invited_by}}{{model.invited_by.username}}{{/link-to}}
{{/if}} -
{{i18n 'user.trust_level'}}
{{model.trustLevel.name}}
+
{{i18n 'user.trust_level'}}
{{model.trustLevel.name}}
{{#if canCheckEmails}}
{{i18n 'user.email.title'}}