Support follow-up posting and e-mail notification
[hcoop/zz_old/portal.git] / portal.mlt
CommitLineData
57c305c1 1<% val you = Init.getUser();
2val bal = Balance.lookupBalance (#bal you);
3@header [] %>
8d347a33 4
57c305c1 5<h3><b><a href="money">Your recent account activity</a></b></h3>
f1ea3762 6
7<table>
8<tr> <td><b>Date</b></td> <td><b>Description</b></td> <td><b>Amount</b></td> </tr>
9<% foreach (amount, trn) in Money.listUserTransactionsLimit (Init.getUserId (), 5) do %>
10<tr> <td><% #d trn %></td> <td><a href="money?trn=<% #id trn %>"><% Web.html (#descr trn) %></a></td> <td><% amount %>/<% #amount trn %></td> </tr>
11<% end %>
12</table>
57c305c1 13<b>Balance: $<% #amount bal %></b>
8d347a33 14
7f97ec97 15<h3><b><a href="poll">Current polls</a></b></h3>
16
17<% foreach pol in Poll.listCurrentPolls () do %>
18<li> <a href="poll?id=<% #id pol %>"><% Web.html (#title pol) %></a>
19<% if Poll.takingVotes pol then %><a href="poll?vote=<% #id pol %>">[VOTE]</a><% end %>
20(<% Web.html (#starts pol) %> to <% Web.html (#ends pol) %>)</li>
21<% end %>
22
8d347a33 23<% @footer [] %>