From 5f6a8f1de15c1dd81f150bb6f34f287fce4861cb Mon Sep 17 00:00:00 2001 From: Yann Esposito Date: Wed, 29 Aug 2012 16:00:07 +0200 Subject: [PATCH] Added comment id into HTML --- Handler/Entry.hs | 2 +- templates/entry.hamlet | 19 ++++++++++--------- templates/ycss.lucius | 2 +- 3 files changed, 12 insertions(+), 11 deletions(-) diff --git a/Handler/Entry.hs b/Handler/Entry.hs index a1ae883..7839d52 100644 --- a/Handler/Entry.hs +++ b/Handler/Entry.hs @@ -60,7 +60,7 @@ neahForComment _ = "X" :: Text -- showCommentTree :: Tree (Entity Comment) -> Hamlet showCommentTree tree creators = - [hamlet|
  • + [hamlet|
  • #{yeahForComment commentId} diff --git a/templates/entry.hamlet b/templates/entry.hamlet index 0e75b63..09d0720 100644 --- a/templates/entry.hamlet +++ b/templates/entry.hamlet @@ -14,18 +14,10 @@ $else delete -

    Comments - -$if null comments -

    Be the first to comment -$else -