discourse-data-explorer/assets/javascripts/discourse/templates/explorer/badge.raw.hbs

11 lines
314 B
Handlebars
Raw Normal View History

2015-08-26 00:36:39 -04:00
{{! source: badge-button component }}
<a
href="{{baseuri}}/badges/{{badge.id}}/{{badge.name}}"
class="user-badge {{badge.badgeTypeClassName}}"
title={{badge.display_name}}
data-badge-name={{badge.name}}
>
{{icon-or-image badge.icon}}
<span class="badge-display-name">{{badge.display_name}}</span>
</a>