Use e-mail suffix for messages to admins
[hcoop/zz_old/portal.git] / portal.mlt
CommitLineData
57c305c1 1<% val you = Init.getUser();
2val bal = Balance.lookupBalance (#bal you);
3@header [] %>
8d347a33 4
f98251aa 5<% if Group.inGroupNum 0 then %>
6<b><h3>Admin</h3></b>
7<a href="users">Members</a><br>
8<a href="groups">Groups</a><br>
9<a href="balances">Balances</a><br>
10<a href="kind">Contact kinds</a><br>
11<% end %>
12
13<b><h3>Your account</h3></b>
14
15<a href="pref">Preferences</a><br>
16<a href="money">Financial</a><br>
17<a href="contact">Contact information</a><br>
18<a href="location">Your geographic locations</a><br>
19<a href="link">Public URL directory</a><br>
20
21<b><h3>Support requests</h3></b>
22
23<a href="domain">Request control of a domain with domtool</a><br>
24<a href="apt">Request Debian apt packages</a><br>
25<a href="list">Request a Mailman mailing list</a><br>
26<a href="support">Other support request</a><br>
27
57c305c1 28<h3><b><a href="money">Your recent account activity</a></b></h3>
f1ea3762 29
30<table>
31<tr> <td><b>Date</b></td> <td><b>Description</b></td> <td><b>Amount</b></td> </tr>
32<% foreach (amount, trn) in Money.listUserTransactionsLimit (Init.getUserId (), 5) do %>
33<tr> <td><% #d trn %></td> <td><a href="money?trn=<% #id trn %>"><% Web.html (#descr trn) %></a></td> <td><% amount %>/<% #amount trn %></td> </tr>
34<% end %>
35</table>
57c305c1 36<b>Balance: $<% #amount bal %></b>
8d347a33 37
7f97ec97 38<h3><b><a href="poll">Current polls</a></b></h3>
39
40<% foreach pol in Poll.listCurrentPolls () do %>
41<li> <a href="poll?id=<% #id pol %>"><% Web.html (#title pol) %></a>
42<% if Poll.takingVotes pol then %><a href="poll?vote=<% #id pol %>">[VOTE]</a><% end %>
43(<% Web.html (#starts pol) %> to <% Web.html (#ends pol) %>)</li>
44<% end %>
45
d90ddc1b 46<h3><b><a href="support">Open support issues</a></b></h3>
47
48<% foreach (name, issue) in Support.listOpenIssues (#id you) do %>
49<a href="user?id=<% #usr issue %>"><% name %></a>: <a href="issue?cat=<% #cat issue %>&id=<% #id issue %>"><% Web.html (#title issue) %></a>
50<% switch #status issue of
51 Support.NEW => %>(New)<%
52 | Support.PENDING => %>(Pending)<%
53 | Support.CLOSED => %>(Closed)<%
54end %>
55<br>
56<% end %>
57
a41f8250 58<h3><b>Statistics</b></h3>
59
60<a href="webbw">Apache bandwidth</a><br>
61<a href="quotas">Disk usage</a><br>
62
f98251aa 63<h3><b>Public pages</b></h3>
64
65<a href="http://hcoop.net/dyn/members.html">Member directory</a><br>
66<a href="http://hcoop.net/dyn/locs.html">Member location summary</a><br>
67<a href="http://hcoop.net/dyn/sites.html">URL directory</a><br>
68
69<h3><b>Miscellaneous</b></h3>
70
71<a href="apps">Review pending membership applications</a><br>
72<a href="dir">Contact information directory</a><br>
73<a href="poll">Polls</a><br>
74
8d347a33 75<% @footer [] %>