mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-28 14:03:48 +03:00
e021843e3f
no issue - migrated `notifications` service from EmberObject to true native class - switched to tracked properties and use of `TrackedArray` - swapped computed properties to getters - dropped unnecessary usage of `get` and `set` - migrated alert/notification related components to Glimmer components
8 lines
353 B
Handlebars
8 lines
353 B
Handlebars
<article class="gh-alert {{this.typeClass}}" ...attributes>
|
|
<div class="gh-alert-content">
|
|
{{@message.message}}
|
|
</div>
|
|
<button class="gh-alert-close" data-test-button="close-notification" type="button" {{on "click" this.closeNotification}}>
|
|
{{svg-jar "close-stroke"}}<span class="hidden">Close</span>
|
|
</button>
|
|
</article> |