mirror of
https://github.com/discourse/discourse.git
synced 2024-12-23 20:43:43 +08:00
a914d3230b
Followup to 7d8974d02f
Co-authored-by: David Taylor <david@taylorhq.com>
22 lines
510 B
Handlebars
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> |