From 907cd50503c9aada07985d602f3fd734b3f1b3d3 Mon Sep 17 00:00:00 2001 From: Brian Wilson Date: Wed, 27 Feb 2013 17:09:50 -0500 Subject: [PATCH] fix viewing of pdfbook on firefox --- lms/templates/static_pdfbook.html | 63 +++++++++++++++---------------- 1 file changed, 31 insertions(+), 32 deletions(-) diff --git a/lms/templates/static_pdfbook.html b/lms/templates/static_pdfbook.html index 013413b62d..565a59977a 100644 --- a/lms/templates/static_pdfbook.html +++ b/lms/templates/static_pdfbook.html @@ -90,41 +90,40 @@ -%if 'chapters' in textbook: -
+ %if 'chapters' in textbook: +
+
    + <%def name="print_entry(entry, index_value)"> +
  • + + ${entry.get('title')} + +
  • + -
      - <%def name="print_entry(entry, index_value)"> -
    • - - ${entry.get('title')} - -
    • - - - % for (index, entry) in enumerate(textbook['chapters']): - ${print_entry(entry, index+1)} - % endfor -
    -
-%endif + % for (index, entry) in enumerate(textbook['chapters']): + ${print_entry(entry, index+1)} + % endfor + +
+ %endif
- - - -
- - +
+ + +
+
+