discourse/app/assets/javascripts/admin/addon/components/modal/custom-date-range.hbs
Kris a914d3230b
DEV: remap all core icons for fontawesome 6 upgrade (#28715)
Followup to 7d8974d02f

Co-authored-by: David Taylor <david@taylorhq.com>
2024-09-13 16:50:52 +01:00

22 lines
510 B
Handlebars

<DModal
class="custom-date-range-modal"
@title={{i18n "admin.dashboard.reports.dates"}}
@closeModal={{@closeModal}}
>
<:body>
<DateTimeInputRange
@from={{this.startDate}}
@to={{this.endDate}}
@onChange={{this.onChangeDateRange}}
@showFromTime={{false}}
@showToTime={{false}}
/>
</:body>
<:footer>
<DButton
@action={{this.updateDateRange}}
@label="admin.dashboard.reports.refresh_report"
@icon="arrows-rotate"
/>
</:footer>
</DModal>