[more of same thomashartman1@gmail.com**20080927160937] hunk ./src/ControllerGetActions.hs 57 - lay (Job jN jBud jBlu) = tutlayoutU rglobs [("jobname",jN),("budget",jBud),("jobblurb",jBlu)] "viewjob" + userlink = simpleLink (templates rglobs) ("/tutorial/viewprofile?user=" ++ pBy,pBy) + lay (Job jN jBud jBlu) = tutlayoutU rglobs [("jobname",jN) + , ("budget",jBud) + , ("jobblurb",jBlu) + -- , ("postedBy",userlink) + ] "viewjob" hunk ./src/ControllerGetActions.hs 106 - let prStuff = r [] "editconsultantprofileNoProfile" - return $ tutlayoutU rglobs [("possiblyExistingProfileStuff",prStuff)] "editconsultantprofile" + --let prStuff = r [] "editconsultantprofileNoProfile" + return $ tutlayoutU rglobs [] "editconsultantprofile" hunk ./src/ControllerGetActions.hs 110 - prStuff = r [("username",username currU), ("showProfile",showPr)] "editconsultantprofileYesProfile" + --prStuff = r [("username",username currU), ("showProfile",showPr)] "editconsultantprofileYesProfile" hunk ./src/ControllerGetActions.hs 114 - , ("possiblyExistingProfileStuff",prStuff) ] + , ("possiblyExistingProfileStuff",showPr) + ] hunk ./src/ControllerPostActions.hs 55 - fromData = liftM3 ConsultantProfilePostData (look "billingrate") (look "consultantblurb") (look "submitbtn") + fromData = liftM3 ConsultantProfilePostData (look "billingrate" `mplus` return "") (look "consultantblurb") (look "submitbtn") hunk ./templates/editconsultantprofileForm.st 5 -
$ showProfile $
-Billing Rate: $ billingRate $
+$!Billing Rate: $ billingRate $
!$ hunk ./templates/viewjob.st 6 + $!