discourse/app/assets/javascripts/admin/addon/components/modal/staff-action-log-change.hbs
Linca aab2987438
FEATURE: Log tag group changes in staff action log (#28787)
* FEATURE: Log tag group changes in staff action log

This commit records every change (add, change, delete) to a tag group in
the staff action log.

It uses a modal that was originally called ThemeChangeModal to display
changes, allowing staffs to see the specific changes clearly. The modal
is renamed to StaffActionLogChangeModal in this PR.

ref: https://meta.discourse.org/t/-/325011/14

Co-authored-by: Keegan George <kgeorge13@gmail.com>
2024-09-09 10:50:48 +08: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>