discourse/lib/onebox/templates/discourse_user_onebox.mustache
Joffrey JAFFEUX fd4ce6ab8f
DEV: hbs extensions are misleading in this case (#9170)
This would also prevent any linting tool to attempt to lint this incorrectly.
2020-03-11 14:42:14 +01:00

33 lines
969 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 xlink: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 xlink:href="#globe-americas"></use>
</svg>
<a href="{{website}}">{{{website_name}}}</a>
</span>
{{/website}}
</div>
{{#bio}}
<p>{{{bio}}}</p>
{{/bio}}
<span>{{joined}} {{created_at}}</span>
</article>
<div style="clear: both"></div>
</aside>