% val you = Init.getUser();
val bal = Balance.lookupBalance (#bal you);
@header [] %>
Date | Description | Amount |
<% foreach (amount, trn) in Money.listUserTransactionsLimit (Init.getUserId (), 5) do %>
<% #d trn %> | <% Web.html (#descr trn) %> | <% amount %>/<% #amount trn %> |
<% end %>
Balance: $<% #amount bal %>
<% foreach pol in Poll.listCurrentPolls () do %>
<% Web.html (#title pol) %>
<% if Poll.takingVotes pol then %>[VOTE]<% end %>
(<% Web.html (#starts pol) %> to <% Web.html (#ends pol) %>)
<% end %>
<% @footer [] %>