UX: Update HTML following core change (#6)

This commit is contained in:
David Taylor 2021-12-01 18:43:11 +00:00 committed by GitHub
parent 1f5aebb180
commit 8ad475a960
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 14 additions and 12 deletions

View File

@ -13,27 +13,29 @@
</div> </div>
{{/if}} {{/if}}
</div> </div>
<div> <div class="inline-form">
<span class="total-rows"> <label class="total-rows">
{{#if model.totalRows}} {{#if model.totalRows}}
{{i18n "directory.total_rows" count=model.totalRows}} {{i18n "directory.total_rows" count=model.totalRows}}
{{/if}} {{/if}}
</span> </label>
{{input {{input
value=(readonly nameInput) value=(readonly nameInput)
input=(action "onUsernameFilterChanged" value="target.value") input=(action "onUsernameFilterChanged" value="target.value")
placeholderKey="directory.filter_name" placeholderKey="directory.filter_name"
class="filter-name no-blur" class="filter-name no-blur"
}} }}
{{combo-box {{#if showGroupFilter}}
class="directory-group-selector" {{combo-box
value=group class="directory-group-selector"
content=groupOptions value=group
onChange=(action groupChanged) content=groupOptions
options=(hash onChange=(action groupChanged)
none="directory.group.all" options=(hash
) none="directory.group.all"
}} )
}}
{{/if}}
{{#if currentUser.staff}} {{#if currentUser.staff}}
{{d-button {{d-button
icon="wrench" icon="wrench"