]> WPIA git - gigi.git/blob - src/club/wpia/gigi/pages/MainPage.templ
a66ddd446da213d16da1d554fc11fc3b16be1163
[gigi.git] / src / club / wpia / gigi / pages / MainPage.templ
1 <h3><?=_Welcome back, ${username}!?></h3>
2 <h4><?=_Subscriber information?></h4>
3 <div class="card card-body bg-light">
4 <? if($ra-agent) { ?><p><?=_You are an RA Agent.?></p><? } ?>
5 <p><?=_Assigned support permissions?>: <?=$support-groups?></p>
6 <p><?=_Assigned user-managed permissions?>: <?=$groups?> (<?=_!'<a href="/account/details">'more!'</a>'?>)</p>
7 <p><?=_${vp} Verification Points and ${xp} Experience Points.?> (<?=_!'<a href="/wot/points">'more!'</a>'?>)</p>
8 </div>
9
10 <h4><?=_Certificate Information?></h4>
11 <div class="card card-body bg-light">
12 <p><?=_${c-no} certificate(s) are issued for your account.?> (<?=_!'<a href="/account/certs">'more!'</a>'?>)</p>
13 </div>
14
15 <h4><?=_Subscribed domains and email addresses?></h4>
16 <div class="card">
17 <div class="card-heading bg-light">
18 <?=_Your account lists the following email addresses?> (<?=_!'<a href="/account/mails">'more!'</a>'?>):
19 </div>
20 <table class="table">
21   <thead>
22   <tr>
23     <th><?=_Address?></th>
24     <th><?=_Status?></th>
25     <th><?=_Last successful verification?></th>
26   </tr>
27   </thead>
28   <tbody>
29   <? foreach($emails) {?>
30         <tr>
31                 <td><?=$address?></td>
32                 <td><?=$verification?></td>
33                 <td><? if($last_verification) { ?><?=$last_verification?><? } else { ?><?=_N/A?><? } ?></td>
34         </tr>
35  <? } ?>
36   </tbody>
37 </table>
38 </div>
39
40 <div class="card">
41 <div class="card-heading bg-light">
42 <?=_Your account lists the following domains?> (<?=_!'<a href="/account/domains">'more!'</a>'?>):
43 </div>
44 <? if($nodomains) { ?>
45 <div class="card-body">
46 <?=_Currently no domains are registered for your account.?>
47 </div>
48 <? } else { ?>
49 <table class="table">
50   <thead>
51   <tr>
52     <th><?=_Domain?></th>
53     <th><?=_Status?></th>
54   </tr>
55   </thead>
56   <tbody>
57   <? foreach($domains) { ?>
58   <tr>
59     <td><?=$domain?></td>
60     <td><?=$status?></td>
61   </tr>
62   <? } ?>
63 </tbody></table>
64 <? } ?>
65 </div>
66
67 <? if($hasorgs) { ?>
68 <h4><?=_Organisations?></h4>
69 <div class="card card-body bg-light">
70  <p><?=_You are listed as administrator for these organisations?>:</p>
71  <ul>
72  <? foreach($orgas) { ?>
73   <li><?=$orgName?></li>
74  <? } ?>
75  </ul>
76  <p><?=_!'<a href="/account/details">'change to organisation administrator context!'</a>'?></p>
77 </div>
78 <? } ?>
79