mirror of
https://github.com/discourse/discourse.git
synced 2024-11-25 09:42:07 +08:00
1c87bb7fe9
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
30 lines
807 B
Handlebars
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> |