UX: Make profile views consistent with other elements (#7956)

* UX: Make profile views consistent with other elements

* Spaces not tabs
This commit is contained in:
tshenry 2019-07-30 06:23:37 -07:00 committed by Robin Ward
parent 1267185a07
commit 7ebb3503a3

View File

@ -159,7 +159,9 @@
{{#if model.last_seen_at}} {{#if model.last_seen_at}}
<div><dt>{{i18n 'user.last_seen'}}</dt><dd>{{bound-date model.last_seen_at}}</dd></div> <div><dt>{{i18n 'user.last_seen'}}</dt><dd>{{bound-date model.last_seen_at}}</dd></div>
{{/if}} {{/if}}
<div><dt>{{i18n 'views'}}</dt><dd>{{model.profile_view_count}}</dd></div> {{#if model.profile_view_count}}
<div><dt>{{i18n 'views'}}</dt><dd>{{model.profile_view_count}}</dd></div>
{{/if}}
{{#if model.invited_by}} {{#if model.invited_by}}
<div><dt class="invited-by">{{i18n 'user.invited_by'}}</dt><dd class="invited-by">{{#link-to 'user' model.invited_by}}{{model.invited_by.username}}{{/link-to}}</dd></div> <div><dt class="invited-by">{{i18n 'user.invited_by'}}</dt><dd class="invited-by">{{#link-to 'user' model.invited_by}}{{model.invited_by.username}}{{/link-to}}</dd></div>
{{/if}} {{/if}}