diff --git a/app/assets/javascripts/discourse/templates/user.hbs b/app/assets/javascripts/discourse/templates/user.hbs index 04a4ab8dca8..f8f8d31c603 100644 --- a/app/assets/javascripts/discourse/templates/user.hbs +++ b/app/assets/javascripts/discourse/templates/user.hbs @@ -159,7 +159,9 @@ {{#if model.last_seen_at}}
{{i18n 'user.last_seen'}}
{{bound-date model.last_seen_at}}
{{/if}} -
{{i18n 'views'}}
{{model.profile_view_count}}
+ {{#if model.profile_view_count}} +
{{i18n 'views'}}
{{model.profile_view_count}}
+ {{/if}} {{#if model.invited_by}}
{{i18n 'user.invited_by'}}
{{#link-to 'user' model.invited_by}}{{model.invited_by.username}}{{/link-to}}
{{/if}}