discourse/app/assets/javascripts/admin/addon/components/modal/theme-change.hbs
Isaac Janzen d2502c9a79
DEV: Convert theme-change modal to component-based API (#22964)
# Before
<img width="575" alt="Screenshot 2023-08-03 at 1 35 47 PM" src="https://github.com/discourse/discourse/assets/50783505/b4ae1487-bef8-40d4-8949-902e36303d43">

# After
<img width="897" alt="Screenshot 2023-08-03 at 1 41 21 PM" src="https://github.com/discourse/discourse/assets/50783505/a37c5fe1-eee5-4e0a-8b0a-66aebbaf2342">

This modal could still use some design love. I will raise this internally.
2023-08-03 15:01:40 -05:00

13 lines
318 B
Handlebars

<DModal
@title={{i18n "admin.logs.staff_actions.modal_title"}}
@closeModal={{@closeModal}}
@bodyClass="theme-change-modal-body"
class="history-modal"
>
<:body>
{{html-safe this.diff}}
</:body>
<:footer>
<DButton class="btn-primary" @action={{@closeModal}} @label="close" />
</:footer>
</DModal>