pendinguserslist.tpl 1.86 KB
Newer Older
Naomi Guyer's avatar
Naomi Guyer committed
1
{if $data}
2
3
4
5
6
7
8
<table id="pendinglist" class="fullwidth table">
        <thead>
                <th>{str tag=pendingregistration section=admin}</th>
                <th>{str tag=registrationreason section=admin}</th>
                <th>&nbsp;</th>
        </thead>
        <tbody>
Naomi Guyer's avatar
Naomi Guyer committed
9
{foreach from=$data item=registration}
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
            <tr class="{cycle values='r0,r1'}">
                    <td class="pendinginfo">
                            <div id="pendinginfo_{$registration->id}">
                                <h3 class="title">{$registration->firstname} {$registration->lastname}</h3>
                                <div class="detail">{$registration->email}</div>
                            </div>
                    </td>
                    <td class="pendinginfo">
                            <div class="detail">{$registration->reason}</div>
                    </td>
                    <td class="">
                        <div class="btn-group">
                            <a class="btn btn-default btn-xs" href="{$WWWROOT}admin/users/actionregistration.php?r={$registration->id}&action=approve">
                                <span class="icon icon-lg left icon-check text-success"></span>
                                <span class="btn-approve">{str tag=approve section=admin}</span>
                            </a>
                            <a class="btn btn-default btn-xs" href="{$WWWROOT}admin/users/actionregistration.php?r={$registration->id}&action=deny">
                                <span class="icon icon-lg left icon-ban text-danger"></span>
                                <span class="btn-deny">{str tag=deny section=admin}</span></a>
                        </div>
                    </td>
            </tr>
Naomi Guyer's avatar
Naomi Guyer committed
32
33
{/foreach}
{else}
34
    <tr><td><div class="no-results">{str tag=nopendingregistrations section=admin}</div></td></tr>
Naomi Guyer's avatar
Naomi Guyer committed
35
{/if}
36
37
        </tbody>
</table>