NIHVIVO-2894: Updated account templates to enable search and account total. Working on filter by role,
This commit is contained in:
parent
3e30283d6b
commit
331e8c5bfa
2 changed files with 20 additions and 17 deletions
|
@ -5,6 +5,7 @@
|
|||
and delete function.
|
||||
------------------------------------------------------------------------------>
|
||||
|
||||
|
||||
<#assign counts=[25, 50, 100] /> <#-- accounts per page-->
|
||||
|
||||
<#macro accountsNav accountsCount=counts>
|
||||
|
@ -17,12 +18,13 @@
|
|||
-->
|
||||
|
||||
<nav class="display-tools">
|
||||
<span>| n accounts | </span>
|
||||
<span>| ${total} accounts | </span>
|
||||
|
||||
<select name="accountsPerPage" class="accounts-per-page">
|
||||
<#list accountsCount as count>
|
||||
<option value="${count}" <#if accountsPerPage= count>selected</#if> >${count}</option>
|
||||
<option value="${count}" <#if accountsPerPage=count>selected</#if> >${count}</option>
|
||||
</#list>
|
||||
<option value="${total}" <#if accountsPerPage=total>selected</#if> >All</option>
|
||||
<!--
|
||||
When accountsPerPage changes,
|
||||
set pageIndex to 1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue