12b43b1bb8
The code for paged collections now feels like playing ping-pong with callbacks, and like I have no idea on who should render who. It works, though.
21 lines
397 B
Smarty
21 lines
397 B
Smarty
<div id="user-list">
|
|
<ul class="order">
|
|
<li>
|
|
<a data-order="name">Sort A→Z</a>
|
|
</li>
|
|
<li>
|
|
<a data-order="name,desc">Sort Z→A</a>
|
|
</li>
|
|
<li>
|
|
<a data-order="registrationTime">Sort old→new</a>
|
|
</li>
|
|
<li>
|
|
<a data-order="registrationTime,desc">Sort new→old</a>
|
|
</li>
|
|
</ul>
|
|
|
|
<div class="pagination-content">
|
|
<ul class="users">
|
|
</ul>
|
|
</div>
|
|
</div>
|