FIX: Update directory header to match core
This updates the parameters passed to the period-chooser, and makes sure the date displays as expected
This commit is contained in:
parent
53120661ad
commit
b2bb6a3790
|
@ -1,11 +1,18 @@
|
|||
{{#d-section pageClass="users"}}
|
||||
{{#load-more selector=".user-card-directory .user-card-container" action=(action "loadMore")}}
|
||||
<div class="container">
|
||||
<div class='directory'>
|
||||
<div class="users-directory directory">
|
||||
{{plugin-outlet name="users-top" connectorTagName='div' args=(hash model=model)}}
|
||||
|
||||
<div class="filters">
|
||||
{{period-chooser period=period onChange=(action (mut period))}}
|
||||
<div class="directory-controls">
|
||||
<div class="period-controls">
|
||||
{{period-chooser period=period onChange=(action (mut period)) fullDay=false}}
|
||||
{{#if lastUpdatedAt}}
|
||||
<div class="directory-last-updated">
|
||||
{{i18n "directory.last_updated"}}
|
||||
{{lastUpdatedAt}}
|
||||
</div>
|
||||
{{/if}}
|
||||
</div>
|
||||
<div class="filters">
|
||||
<span class="group-filter {{if group "active"}}">
|
||||
|
@ -18,6 +25,7 @@
|
|||
{{text-field value=nameInput placeholderKey="directory.filter_name" class="filter-name no-blur"}}
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{{#conditional-loading-spinner condition=model.loading}}
|
||||
{{#if userCards.length}}
|
||||
|
|
Loading…
Reference in New Issue