summaryrefslogtreecommitdiff
path: root/app/Template/user_list/sort_menu.php
blob: 250832f362f427a102b92dd86b3d2ce600db4031 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<div class="dropdown">
    <a href="#" class="dropdown-menu dropdown-menu-link-icon"><strong><?= t('Sort') ?> <i class="fa fa-caret-down"></i></strong></a>
    <ul>
        <li>
            <?= $paginator->order(t('User ID'), \Kanboard\Model\UserModel::TABLE.'.id') ?>
        </li>
        <li>
            <?= $paginator->order(t('Username'), \Kanboard\Model\UserModel::TABLE.'.username') ?>
        </li>
        <li>
            <?= $paginator->order(t('Name'), \Kanboard\Model\UserModel::TABLE.'.name') ?>
        </li>
        <li>
            <?= $paginator->order(t('Email'), \Kanboard\Model\UserModel::TABLE.'.email') ?>
        </li>
        <li>
            <?= $paginator->order(t('Account type'), \Kanboard\Model\UserModel::TABLE.'.is_ldap_user') ?>
        </li>
        <li>
            <?= $paginator->order(t('Role'), \Kanboard\Model\UserModel::TABLE.'.role') ?>
        </li>
        <li>
            <?= $paginator->order(t('Two Factor'), \Kanboard\Model\UserModel::TABLE.'.twofactor_activated') ?>
        </li>
        <li>
            <?= $paginator->order(t('Status'), \Kanboard\Model\UserModel::TABLE.'.is_active') ?>
        </li>
    </ul>
</div>