mirror of
https://github.com/discourse/discourse.git
synced 2024-11-27 16:53:43 +08:00
add location field to user card expansion
This commit is contained in:
parent
88494736bb
commit
696a7e2c4d
|
@ -23,6 +23,7 @@
|
|||
|
||||
{{#if user}}
|
||||
<div class="metadata">
|
||||
{{#if user.location}}<h3><i class="fa fa-map-marker"></i> {{{user.location}}}</h3>{{/if}}
|
||||
<h3>{{i18n last_post}} {{unboundDate path="user.last_posted_at" leaveAgo="true"}}</h3>
|
||||
<h3>{{i18n joined}} {{unboundDate path="user.created_at" leaveAgo="true"}}</h3>
|
||||
{{groups-list groups=user.custom_groups}}
|
||||
|
|
|
@ -87,7 +87,7 @@
|
|||
<div class='secondary'>
|
||||
<dl>
|
||||
{{#if location}}
|
||||
<dt>{{i18n user.location}}</dt><dd>{{location}}</a></dd>
|
||||
<dd><i class="fa fa-map-marker"></i> {{location}}</dd>
|
||||
{{/if}}
|
||||
{{#if websiteName}}
|
||||
<dt>{{i18n user.website}}</dt><dd><a {{bind-attr href="website"}} target="_blank">{{websiteName}}</a></dd>
|
||||
|
|
Loading…
Reference in New Issue
Block a user