From f8b325748a3631df00841f3524b6e1f95a4e30f4 Mon Sep 17 00:00:00 2001 From: Clint Adams Date: Fri, 19 Jul 2013 15:25:08 -0400 Subject: Update to newer Yesod. --- templates/userpage.hamlet | 22 ++++++++++++++++++---- 1 file changed, 18 insertions(+), 4 deletions(-) (limited to 'templates/userpage.hamlet') diff --git a/templates/userpage.hamlet b/templates/userpage.hamlet index 27353d0..4205d2c 100644 --- a/templates/userpage.hamlet +++ b/templates/userpage.hamlet @@ -1,21 +1,35 @@

#{username} -$if isUser +$forall Entity _ emp <- employments +

From # + + #{show (employmentStartDate emp)} + $maybe enddate <- employmentEndDate emp + \ until # + + #{show enddate} + +$if isThisUser

^{formWidget} $else + -
Category Hours Date - $forall (a,b,c) <- entries + Note + $forall (a,b,c,d,e) <- entries
#{a} - #{b} + + + #{timeCategoryName b} #{c} + #{d} + #{e} ^{pageNavWidget} -- cgit v1.2.3