summaryrefslogtreecommitdiff
path: root/src/mulk/benki/book_marx.clj
diff options
context:
space:
mode:
authorMatthias Andreas Benkard <code@mail.matthias.benkard.de>2012-02-27 00:25:16 +0100
committerMatthias Andreas Benkard <code@mail.matthias.benkard.de>2012-02-27 00:25:16 +0100
commitf06efd2ad30690fc51532db19f532c9ac256a2de (patch)
tree8cfcbe6b5af366e3c6937e97e4c0fd557b10d7dd /src/mulk/benki/book_marx.clj
parent4f0c9082222181ad5a8aacb199050f93f57d17cf (diff)
Book Marx: Display owner of each bookmark.
Diffstat (limited to 'src/mulk/benki/book_marx.clj')
-rw-r--r--src/mulk/benki/book_marx.clj5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mulk/benki/book_marx.clj b/src/mulk/benki/book_marx.clj
index 91dcc8f..6c01bcc 100644
--- a/src/mulk/benki/book_marx.clj
+++ b/src/mulk/benki/book_marx.clj
@@ -60,8 +60,9 @@
[:h2 {:class "bookmark-title"}
[:a {:href (escape-html (:uri mark))}
(escape-html (:title mark))]]
- [:p {:class "bookmark-date"}
- (escape-html (:date mark))]
+ [:p {:class "bookmark-date-and-owner"}
+ [:span {:class "bookmark-date"} (escape-html (:date mark))]
+ [:span {:class "bookmark-owner"} " by " (escape-html (:first_name mark))]]
[:p {:class "bookmark-description"}
(htmlize-description (:description mark))]])]]))))