discourse/lib/onebox/templates/discourse_user_onebox.mustache
David Taylor 7d8974d02f
UX: Upgrade to fontawesome 6.6.0 (#28778)
This upgrade is designed to be fully backwards-compatible. Any icon names which have changed will be automatically remapped to the new name. For now, this will happen silently. In future, once core & official themes/plugins have been updated, we will start raising deprecation errors to help theme/plugin authors update their code.

Extracted from https://github.com/discourse/discourse/pull/28715

Announcement at https://meta.discourse.org/t/were-upgrading-our-icons-to-font-awesome-6/325349

Co-authored-by: awesomerobot <kris.aubuchon@discourse.org>
2024-09-09 14:40:56 +01:00

33 lines
962 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-location-dot svg-icon" xmlns="http://www.w3.org/2000/svg">
<use href="#location-dot"></use>
</svg>
{{{location}}}
</span>
{{/location}}
{{#website}}
<span>
<svg class="fa d-icon d-icon-earth-americas svg-icon" xmlns="http://www.w3.org/2000/svg">
<use href="#earth-americas"></use>
</svg>
<a href="{{website}}">{{{website_name}}}</a>
</span>
{{/website}}
</div>
{{#bio}}
<p>{{{bio}}}</p>
{{/bio}}
<div class="user-onebox--joined">{{joined}}</div>
</article>
<div class="clearfix"></div>
</aside>