diff --git a/webapp/web/templates/freemarker/body/accounts/userAccounts-list.ftl b/webapp/web/templates/freemarker/body/accounts/userAccounts-list.ftl index 8211dfc16..10ec1d19c 100644 --- a/webapp/web/templates/freemarker/body/accounts/userAccounts-list.ftl +++ b/webapp/web/templates/freemarker/body/accounts/userAccounts-list.ftl @@ -2,6 +2,8 @@ <#-- Template for displaying list of user accounts --> +<#import "userAccounts-accountsNav.ftl" as p> +
<#--current page: @@ -108,41 +110,8 @@
-
- - + <@p.accountsNav /> - -
- @@ -216,40 +185,7 @@
Account Management
-
- - - - -
+ <@p.accountsNav />
${scripts.add('')} \ No newline at end of file diff --git a/webapp/web/templates/freemarker/body/partials/account/userAccounts-accountsNav.ftl b/webapp/web/templates/freemarker/body/partials/account/userAccounts-accountsNav.ftl new file mode 100644 index 000000000..9c69e7323 --- /dev/null +++ b/webapp/web/templates/freemarker/body/partials/account/userAccounts-accountsNav.ftl @@ -0,0 +1,45 @@ +<#-- $This file is distributed under the terms of the license in /doc/license.txt$ --> + +<#----------------------------------------------------------------------------- + Macro for generating number of accounts, pagination, accounts per page, + and delete function. +------------------------------------------------------------------------------> + +<#assign counts=[25, 50, 100] /> <#-- accounts per page--> + +<#macro accountsNav accountsCount=counts> + +
+ + + + +
+ + \ No newline at end of file