discourse/app/assets/javascripts/select-kit/templates/components/multi-select/selected-name.hbs
Joffrey JAFFEUX 3a7d2da633
FIX: category badges css refactoring/fixes
This commit fixes multiple css issues with category badges in select-kit and outside of select-kit. It also contains refactoring of components impacted by those changes.
2018-01-11 13:05:29 +01:00

20 lines
446 B
Handlebars

{{#if headerContent}}<div class="header">{{headerContent}}</div>{{/if}}
<div class="body">
{{#if isLocked}}
<span class="delete-icon">
{{d-icon "lock"}}
</span>
{{else}}
<span class="locked-icon" {{action deselect computedContent bubbles=false}}>
{{d-icon "times"}}
</span>
{{/if}}
<span class="name">
{{{label}}}
</span>
</div>
{{#if footerContent}}<div class="footer">{{footerContent}}</div>{{/if}}