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

9 lines
311 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>