discourse/app/assets/javascripts/admin/addon/components/modal/custom-date-range.hbs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

22 lines
510 B
Handlebars
Raw Normal View History

<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>