mirror of
https://github.com/discourse/discourse.git
synced 2024-12-05 17:23:43 +08:00
22 lines
501 B
Handlebars
22 lines
501 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="sync"
|
||
|
/>
|
||
|
</:footer>
|
||
|
</DModal>
|