Support follow-up posting and e-mail notification
[hcoop/portal.git] / portal.mlt
CommitLineData
e68ddb80
AC
1<% val you = Init.getUser();
2val bal = Balance.lookupBalance (#bal you);
3@header [] %>
208e2cbc 4
e68ddb80 5<h3><b><a href="money">Your recent account activity</a></b></h3>
f49e1088
AC
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>
e68ddb80 13<b>Balance: $<% #amount bal %></b>
208e2cbc 14
56dbfc30
AC
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
208e2cbc 23<% @footer [] %>