discourse/lib/onebox/templates/discourse_user_onebox.mustache
Gerhard Schlager 7fd63b34b1
DEV: Make it obvious that joined translation is used by onebox (#20158)
This also moves the date as interpolation key into the string which makes translation easier.
2023-02-03 10:02:14 +08:00

33 lines
939 B
Plaintext

<aside class="onebox">
<article class="onebox-body user-onebox">
{{{avatar}}}
<h3><a href="{{original_url}}">{{{username}}}</a></h3>
<div>
{{#name}}
<span class="full-name">{{name}}</span>
{{/name}}
{{#location}}
<span class="location">
<svg class="fa d-icon d-icon-map-marker-alt svg-icon" xmlns="http://www.w3.org/2000/svg">
<use href="#map-marker-alt"></use>
</svg>
{{{location}}}
</span>
{{/location}}
{{#website}}
<span>
<svg class="fa d-icon d-icon-globe-americas svg-icon" xmlns="http://www.w3.org/2000/svg">
<use href="#globe-americas"></use>
</svg>
<a href="{{website}}">{{{website_name}}}</a>
</span>
{{/website}}
</div>
{{#bio}}
<p>{{{bio}}}</p>
{{/bio}}
<span>{{joined}}</span>
</article>
<div class="clearfix"></div>
</aside>