discourse/app/assets/javascripts/admin/addon/templates/admin-badges/index.hbs
Peter Wagenet 40cb46631f
DEV: Update /admin/badges to modern Ember patterns (#17672)
* Nest admin badges controller and route files

* Use standard file names for admin-badges

* Update resolver to allow standardized file structure for admin

* Add adminBadges.index controller for property tracking

* Modernize admin badges controller

* Modernize admin-badges route

* Add admin-badges index route

* Modernize admin-badges.show controller and route

* Modernize admin-badges.award controller and route

* Convert BadgeButton to a Glimmer component
2022-08-03 10:12:17 +01:00

17 lines
617 B
Handlebars

<DSection @class="current-badges">
<div class="badge-intro admin-intro">
<img src={{this.badgeIntroEmoji}} class="badge-intro-emoji" alt={{i18n "admin.badges.badge_intro.emoji"}}>
<div class="content-wrapper">
<h1>{{i18n "admin.badges.badge_intro.title"}}</h1>
<div class="external-resources">
{{#each this.badgeIntroLinks as |link|}}
<a href={{link.href}} class="external-link" target="_blank" rel="noopener noreferrer">
{{d-icon link.icon}}
<span>{{i18n link.text}}</span>
</a>
{{/each}}
</div>
</div>
</div>
</DSection>