X-Git-Url: http://git.hcoop.net/hcoop/portal.git/blobdiff_plain/cf10853e30dc8918629f950b523838bf4d08edaf..b7b8862b65e3a2be9daaef4f2850d9ebafebe4c3:/portal.mlt diff --git a/portal.mlt b/portal.mlt index 42d2eb7..37f66a4 100644 --- a/portal.mlt +++ b/portal.mlt @@ -1,18 +1,40 @@ <% val you = Init.getUser(); val bal = Balance.lookupBalance (#bal you); +val deposit = Balance.depositAmount (#id bal); +val showBal = Util.sub (#amount bal, deposit); @header [] %> +
+ +

Notice: Google Checkout Is Gone

+ +

Google Checkout shut down in November 2013 so we only have Paypal +available for processing payments currently. We are in the process of +selecting a second (and possibly third) payment processor; you can +contribute to the discussion by visiting the wiki +discussion. + +

+ <% @payment [] %>

Your recent account activity

+<% ref running = showBal %> - + <% foreach (amount, trn) in Money.listUserTransactionsLimit (Init.getUserId (), 5) do %> - -<% end %> + + +<% running := Util.sub (running, amount) +end %>
Date Description Amount
Date Description Amount Balance
<% #d trn %> <% Web.html (#descr trn) %> <% amount %>/<% #amount trn %>
<% #d trn %> <% Web.html (#descr trn) %> <% amount %>/<% #amount trn %><% running %>
-Balance: $<% #amount bal %> +Show all transactions
+Balance: $<% showBal %>
+Deposit: $<% deposit %> (3 months of dues at the minimal pledge level) + + <% val polls = Poll.listCurrentPolls (); switch polls of @@ -40,6 +62,17 @@ switch issues of end %>
<% end -end %> +end; + +val {total, vhosts} = Stats.getWebbwUser {user = Init.getUserName (), last = 0}; +switch vhosts of + _ :: _ => + %>

Your web traffic this month

+ <% + foreach e in vhosts do %> + + <% end %> +
Site Data transferred (kB)
<% #hostname (#host e) %><% if #ssl (#host e) then %> (SSL)<% end %> [detail]<% #size e %>
+<% end; -<% @footer [] %> \ No newline at end of file +@footer [] %>