Commit | Line | Data |
---|---|---|
e68ddb80 AC |
1 | <% val you = Init.getUser(); |
2 | val bal = Balance.lookupBalance (#bal you); | |
466c5944 | 3 | val deposit = Balance.depositAmount (#id bal); |
b5dc79ca | 4 | val showBal = Util.sub (#amount bal, deposit); |
e68ddb80 | 5 | @header [] %> |
208e2cbc | 6 | |
95446a44 CE |
7 | <div style="border: 2px solid red; background-color: LightSalmon;"> |
8 | ||
9 | <h3>Notice: Transition to Upgraded Servers in Progress</h3> | |
10 | ||
11 | <p>We are now providing a more powerful shell server and web server | |
12 | running Debian Squeeze. All members <strong>must take action</strong> | |
13 | to run their services on the new machines. There are also changes to | |
14 | mail routing that require action by most members. Read the <a | |
15 | href="http://wiki.hcoop.net/NavajosBogMigrationGuide">migration | |
16 | guide</a> for details on what you need to do to keep your account | |
17 | working. We have also called a roll call, so check your spam folder | |
18 | for recent mail from hcoop if you have not received it. | |
19 | </div> | |
20 | ||
cf10853e | 21 | <% @payment [] %> |
17f5503e | 22 | |
b6dd1aaf | 23 | <h3><a href="money">Your recent account activity</a></h3> |
f49e1088 | 24 | |
b5dc79ca | 25 | <% ref running = showBal %> |
f49e1088 | 26 | <table> |
b5dc79ca | 27 | <tr> <td><b>Date</b></td> <td><b>Description</b></td> <td><b>Amount</b></td> <td><b>Balance</b></td></tr> |
f49e1088 | 28 | <% foreach (amount, trn) in Money.listUserTransactionsLimit (Init.getUserId (), 5) do %> |
b5dc79ca AC |
29 | <tr> <td><% #d trn %></td> <td><a href="money?trn=<% #id trn %>"><% Web.html (#descr trn) %></a></td> <td><% amount %>/<% #amount trn %></td> |
30 | <td><% running %></tr> | |
31 | <% running := Util.sub (running, amount) | |
32 | end %> | |
f49e1088 | 33 | </table> |
60465e67 | 34 | <a href="money?lookback=inf">Show all transactions</a><br> |
b5dc79ca | 35 | <b>Balance: $<% showBal %></b><br> |
c8abf2d9 | 36 | <b>Deposit: $<% deposit %></b> (3 months of dues at the minimal <a href="pledge">pledge level</a>) |
96bd398e | 37 | |
c8abf2d9 | 38 | <!--b>Balance: $<% #amount bal %></b--> |
208e2cbc | 39 | |
b6dd1aaf AC |
40 | <% val polls = Poll.listCurrentPolls (); |
41 | switch polls of | |
42 | _::_ => %> | |
43 | <h3><a href="poll">Current polls</a></h3> | |
56dbfc30 | 44 | |
b6dd1aaf | 45 | <% foreach pol in polls do %> |
56dbfc30 AC |
46 | <li> <a href="poll?id=<% #id pol %>"><% Web.html (#title pol) %></a> |
47 | <% if Poll.takingVotes pol then %><a href="poll?vote=<% #id pol %>">[VOTE]</a><% end %> | |
48 | (<% Web.html (#starts pol) %> to <% Web.html (#ends pol) %>)</li> | |
b6dd1aaf AC |
49 | <% end |
50 | end %> | |
56dbfc30 | 51 | |
b6dd1aaf AC |
52 | <% val issues = Support.listOpenIssues (#id you); |
53 | switch issues of | |
54 | _::_ => %> | |
55 | <h3><a href="support">Open support issues</a></h3> | |
5d851d7c | 56 | |
b6dd1aaf | 57 | <% foreach (name, issue) in issues do %> |
5d851d7c AC |
58 | <a href="user?id=<% #usr issue %>"><% name %></a>: <a href="issue?cat=<% #cat issue %>&id=<% #id issue %>"><% Web.html (#title issue) %></a> |
59 | <% switch #status issue of | |
60 | Support.NEW => %>(New)<% | |
61 | | Support.PENDING => %>(Pending)<% | |
62 | | Support.CLOSED => %>(Closed)<% | |
63 | end %> | |
64 | <br> | |
b6dd1aaf | 65 | <% end |
d5f8418b | 66 | end; |
eaa96514 | 67 | |
432aa258 AC |
68 | val {total, vhosts} = Stats.getWebbwUser {user = Init.getUserName (), last = 0}; |
69 | switch vhosts of | |
70 | _ :: _ => | |
71 | %><h3>Your web traffic this month</h3> | |
72 | <table><tr><th>Site</th> <th>Data transferred (kB)</th></tr><% | |
73 | foreach e in vhosts do %> | |
74 | <tr><td align="right"><a href="<% if #ssl (#host e) then %>https<% else %>http<% end %>://<% #hostname (#host e) %>/"><% #hostname (#host e) %><% if #ssl (#host e) then %> (SSL)<% end %></a> <a href="/webalizer/<% #id (#host e) %>/">[detail]</a></td><td><% #size e %></td></tr> | |
75 | <% end %> | |
76 | </table> | |
77 | <% end; | |
78 | ||
d5f8418b | 79 | @footer [] %> |