discourse/app/assets/javascripts/admin/addon/templates/customize-themes-index.hbs
Jarek Radosz 1c87bb7fe9
DEV: Update DButton uses (#23333)
1. Use `this.` instead of `{{action}}` where applicable
2. Use `{{fn}}` instead of `@actionParam` where applicable
3. Use non-`@` versions of class/type/tabindex/aria-controls/aria-expanded
4. Remove `btn` class (it's added automatically to all DButtons)
5. Remove `type="button"` (it's the default)
6. Use `concat-class` helper
2023-08-31 11:49:35 +02:00

30 lines
807 B
Handlebars

<div class="themes-intro admin-intro">
<img
src={{this.womanArtistEmojiURL}}
alt={{i18n "admin.customize.theme.themes_intro_emoji"}}
/>
<div class="content-wrapper">
<h1>{{i18n "admin.customize.theme.themes_intro"}}</h1>
<div class="create-actions">
<DButton
@action={{route-action "installModal"}}
@icon="upload"
@label="admin.customize.install"
class="btn-primary"
/>
</div>
<div class="external-resources">
{{#each this.externalResources as |resource|}}
<a
href={{resource.link}}
class="external-link"
rel="noopener noreferrer"
target="_blank"
>
{{d-icon resource.icon}}
{{i18n resource.key}}
</a>
{{/each}}
</div>
</div>
</div>