mirror of
https://github.com/discourse/discourse.git
synced 2024-11-24 09:17:30 +08:00
Use the {{fa-icon}}
helper on user expansion
This commit is contained in:
parent
07a021d050
commit
15936f4742
|
@ -25,7 +25,7 @@
|
||||||
|
|
||||||
{{#if user}}
|
{{#if user}}
|
||||||
<div class="metadata">
|
<div class="metadata">
|
||||||
{{#if user.location}}<h3><i class="fa fa-map-marker"></i> {{user.location}}</h3>{{/if}}
|
{{#if user.location}}<h3>{{fa-icon "map-marker"}} {{user.location}}</h3>{{/if}}
|
||||||
<h3>{{i18n last_post}} {{date path="user.last_posted_at" leaveAgo="true"}}</h3>
|
<h3>{{i18n last_post}} {{date path="user.last_posted_at" leaveAgo="true"}}</h3>
|
||||||
<h3>{{i18n joined}} {{date path="user.created_at" leaveAgo="true"}}</h3>
|
<h3>{{i18n joined}} {{date path="user.created_at" leaveAgo="true"}}</h3>
|
||||||
{{groups-list groups=user.custom_groups}}
|
{{groups-list groups=user.custom_groups}}
|
||||||
|
@ -34,7 +34,7 @@
|
||||||
<div class='bottom'>
|
<div class='bottom'>
|
||||||
{{#if isSuspended}}
|
{{#if isSuspended}}
|
||||||
<div class='suspended'>
|
<div class='suspended'>
|
||||||
<i class='fa fa-ban'></i>
|
{{fa-icon "ban"}}
|
||||||
<b>{{i18n user.suspended_notice date="user.suspendedTillDate"}}</b><br/>
|
<b>{{i18n user.suspended_notice date="user.suspendedTillDate"}}</b><br/>
|
||||||
<b>{{i18n user.suspended_reason}}</b> {{user.suspend_reason}}
|
<b>{{i18n user.suspended_reason}}</b> {{user.suspend_reason}}
|
||||||
</div>
|
</div>
|
||||||
|
@ -43,17 +43,17 @@
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
|
||||||
{{#if user.can_send_private_message_to_user}}
|
{{#if user.can_send_private_message_to_user}}
|
||||||
<button class='btn btn-primary' {{action composePrivateMessage user}}><i class='fa fa-envelope'></i>{{i18n user.private_message}}</button>
|
<button class='btn btn-primary' {{action composePrivateMessage user}}>{{fa-icon "envelope"}}{{i18n user.private_message}}</button>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
|
||||||
{{#link-to 'user' user class="btn"}}<i class='fa fa-user'></i>{{i18n user.profile}}{{/link-to}}
|
{{#link-to 'user' user class="btn"}}{{fa-icon "user"}}{{i18n user.profile}}{{/link-to}}
|
||||||
|
|
||||||
{{#if showFilter}}
|
{{#if showFilter}}
|
||||||
<button class='btn' {{action togglePosts user}}><i class='fa fa-filter'></i>{{i18n topic.filter_to username="username" post_count="participant.post_count"}}</button>
|
<button class='btn' {{action togglePosts user}}>{{fa-icon "filter"}}{{i18n topic.filter_to username="username" post_count="participant.post_count"}}</button>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
|
||||||
{{#if hasUserFilters}}
|
{{#if hasUserFilters}}
|
||||||
<button class='btn' {{action cancelFilter}}><i class='fa fa-times'></i>{{i18n topic.filters.cancel}}</button>
|
<button class='btn' {{action cancelFilter}}>{{fa-icon "times"}}{{i18n topic.filters.cancel}}</button>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
</div>
|
</div>
|
||||||
{{else}}
|
{{else}}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user