From 2e6719e693f8c65269d99a9f3a6a8f8180cb8e7f Mon Sep 17 00:00:00 2001 From: Las Zenow Date: Tue, 21 Aug 2012 18:25:31 +0200 Subject: [PATCH] Add read it button to book page --- templates/book.html | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/templates/book.html b/templates/book.html index f57fd0b..7fdb540 100644 --- a/templates/book.html +++ b/templates/book.html @@ -32,7 +32,7 @@ function delBook(){

-
+
    {{if .Author}}
  • Author: {{range .Author}}{{.}}, {{end}}
  • {{end}} {{if .Publisher}}
  • Publisher: {{.Publisher}}
  • {{end}} @@ -41,7 +41,7 @@ function delBook(){ {{if .Lang}}
  • Lang: {{range .Lang}}{{.}} {{end}}
  • {{end}}
-
+
{{if $user}}
@@ -52,7 +52,10 @@ function delBook(){

{{end}}