mirror of
https://github.com/discourse/discourse.git
synced 2024-11-30 08:43:45 +08:00
aab2987438
* 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>
13 lines
318 B
Handlebars
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> |