discourse/app/assets/javascripts/admin/addon/components/modal/staff-action-log-details.gjs
David Taylor 46093eddf3
DEV: Bump linting dependencies and fix violations (#32682)
template-lint ignores added to workaround bug. Fix is pending release in https://github.com/ember-template-lint/ember-template-lint/pull/3248
2025-05-12 14:14:07 +01:00

20 lines
546 B
Text
Vendored

import DButton from "discourse/components/d-button";
import DModal from "discourse/components/d-modal";
import { i18n } from "discourse-i18n";
const StaffActionLogDetails = <template>
<DModal
@title={{i18n "admin.logs.staff_actions.modal_title"}}
@closeModal={{@closeModal}}
class="log-details-modal"
>
<:body>
<pre>{{@model.staffActionLog.details}}</pre>
</:body>
<:footer>
<DButton @action={{@closeModal}} @label="close" />
</:footer>
</DModal>
</template>;
export default StaffActionLogDetails;