mirror of
https://github.com/discourse/discourse.git
synced 2024-11-25 21:53:49 +08:00
40cb46631f
* 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
17 lines
617 B
Handlebars
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>
|