mirror of
https://github.com/discourse/discourse.git
synced 2024-12-08 02:13:39 +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
9 lines
257 B
Handlebars
9 lines
257 B
Handlebars
<DButton
|
|
@label="admin.site_text.edit"
|
|
@action={{fn this.editAction this.siteText}}
|
|
class="btn-default edit"
|
|
/>
|
|
<h3 class="site-text-id">{{this.siteText.id}}</h3>
|
|
<div class="site-text-value">{{this.siteText.value}}</div>
|
|
|
|
<div class="clearfix"></div> |