X-Git-Url: http://git.hcoop.net/hcoop/zz_old/portal.git/blobdiff_plain/57c305c1681b8b819d90b3f5a4d8c77a03926a4e..b60a0db367c4f6eda08275b71cbd46f3ee681a7c:/portal.mlt
diff --git a/portal.mlt b/portal.mlt
index 44df241..3492692 100644
--- a/portal.mlt
+++ b/portal.mlt
@@ -2,7 +2,9 @@
val bal = Balance.lookupBalance (#bal you);
@header [] %>
-
+<% @payment [] %>
+
+
Date | Description | Amount |
@@ -12,4 +14,32 @@ val bal = Balance.lookupBalance (#bal you);
Balance: $<% #amount bal %>
-<% @footer [] %>
\ No newline at end of file
+<% val polls = Poll.listCurrentPolls ();
+switch polls of
+ _::_ => %>
+
+
+<% foreach pol in polls do %>
+ <% Web.html (#title pol) %>
+<% if Poll.takingVotes pol then %>[VOTE]<% end %>
+(<% Web.html (#starts pol) %> to <% Web.html (#ends pol) %>)
+<% end
+end %>
+
+<% val issues = Support.listOpenIssues (#id you);
+switch issues of
+ _::_ => %>
+
+
+<% foreach (name, issue) in issues do %>
+<% name %>: <% Web.html (#title issue) %>
+<% switch #status issue of
+ Support.NEW => %>(New)<%
+ | Support.PENDING => %>(Pending)<%
+ | Support.CLOSED => %>(Closed)<%
+end %>
+
+<% end
+end;
+
+@footer [] %>