From 7179f08ff5a009633ad98f867e56289d26492c1b Mon Sep 17 00:00:00 2001 From: "Edward Z. Yang" Date: Mon, 19 Nov 2012 00:09:37 -0800 Subject: [PATCH] Separate out view hamlet. Signed-off-by: Edward Z. Yang --- backend/Handler/Home.hs | 14 +------------- backend/templates/view.hamlet | 11 +++++++++++ 2 files changed, 12 insertions(+), 13 deletions(-) create mode 100644 backend/templates/view.hamlet diff --git a/backend/Handler/Home.hs b/backend/Handler/Home.hs index 83350d9..0a96234 100644 --- a/backend/Handler/Home.hs +++ b/backend/Handler/Home.hs @@ -67,19 +67,7 @@ getViewR hash = do annotMap = IntMap.fromAscListWith (++) (map sliceAnnot annotations) let html = do setTitle . toHtml $ profileTitle profile - [whamlet| -

- - \#{profileTitle profile} -
- #{profileJob profile} -
- \#{format (profileRunTime profile)} (uploaded #{format (profileUploadTime profile)}); - download .hp -
- \#{profileDescription profile} (Edit) -