mirror of
https://github.com/discourse/discourse.git
synced 2024-12-25 23:03:43 +08:00
7d8974d02f
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>
33 lines
962 B
Plaintext
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>
|