mirror of
https://github.com/discourse/discourse.git
synced 2024-11-25 07:50:51 +08:00
87c1e98571
User flair was given by user's primary group. This PR separates the two, adds a new field to the user model for flair group ID and users can select their flair from user preferences now.
11 lines
173 B
Handlebars
11 lines
173 B
Handlebars
{{#if item.url}}
|
|
{{avatar-flair
|
|
flairName=item.name
|
|
flairUrl=item.url
|
|
flairBgColor=item.bgColor
|
|
flairColor=item.color
|
|
}}
|
|
{{/if}}
|
|
|
|
<span>{{label}}</span>
|