add: enable Support to see the new RA Agent status
[gigi.git] / src / club / wpia / gigi / pages / admin / support / SupportUserDetailsForm.templ
1 <table class="table">
2         <tbody><tr>
3             <th colspan="2"><?=$mail?>'s Account Details</th>
4         </tr>
5         <tr>
6             <td><?=_Email?>:</td>
7             <td><?=$mail?><br/>(<?=$status?>)</td>
8         </tr>
9   <? foreach($exNames) { ?>
10         <tr>
11           <td><?=_Name?>: </td>
12           <td><?=$name?> (<?=$points?>)<? if($preferred) { ?> <span class="label label-info"><?=_Preferred Name?></span><? } ?></td>
13         </tr>
14   <? } ?>
15         <tr>
16             <td><?=_Date of Birth?>:</td>
17             <td>
18                 <?=$dob?> <input class="btn btn-warning" name="detailupdate" type="submit" value="<?=_Update?>"/>
19             </td>
20         </tr>
21         <tr>
22             <td><?=_Trainings?>:</td>
23             <td><a href="trainings"><?=_Show?></a></td>
24         </tr>
25         <tr>
26             <td><?=_Is RA Agent?>:</td>
27             <td>
28                 <? if($agent) { ?>
29                 <?=_Yes?>
30                 <? } else { ?>
31                 <?=_No?> (<?=_RA Agent Contract signed:?> <? if($agentcontract) { ?><?=_Yes?><? } else { ?><?=_No?><?}?>)
32                 <? } ?>
33             </td>
34         </tr>
35         <tr>
36             <td><?=_Verification Points?>:</td>
37             <td><?=$verificationPoints?> (<a href="./points"><?=_Show?></a>)</td>
38         </tr>
39         <tr>
40             <td><?=_Experience Points?>:</td>
41             <td><?=$exppoints?></td>
42         </tr>
43
44         <tr>
45             <td><?=_Support Managed Groups?>:</td>
46             <td><p><?=$support-groups?></p>
47             <p><?=$groupSelector?><input class="btn btn-info" type='submit' value='<?=_Add Group?>' name='addGroup'> <input class="btn btn-info" type='submit' value='<?=_Remove Group?>' name='removeGroup'></p>
48             </td>
49         </tr>
50
51         <tr>
52             <td><?=_User Managed Groups?>:</td>
53             <td><p><?=$groups?></p>
54             </td>
55         </tr>
56
57         <tr>
58             <td><?=_Reset Password?>:</td>
59             <td><input type="text" name="aword"> <input class="btn btn-primary" type="submit" value="<?=_Reset Password?>" name="resetPass"></td>
60         </tr>
61         <tr>
62             <td><?=_Delete Account?>:</td>
63             <td><?=_Delete Account?></td>
64         </tr>
65         <tr>
66             <td colspan="2"><a href="history"><?=_Show account history?></a></td>
67         </tr>
68     </tbody>
69 </table>
70 <br/>