mirror of
https://gh.wpcy.net/https://github.com/discourse/discourse.git
synced 2026-05-26 11:12:53 +08:00
template-lint ignores added to workaround bug. Fix is pending release in https://github.com/ember-template-lint/ember-template-lint/pull/3248
20 lines
546 B
Text
Vendored
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;
|