From 750146752aea9403df7fea2257b825baaa8eb723 Mon Sep 17 00:00:00 2001 From: Seth Woodworth Date: Mon, 3 Jun 2013 21:34:17 -0400 Subject: [PATCH] make notes render the pdfview in an iframe for pdfs --- karmaworld/templates/notes/note_detail.html | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/karmaworld/templates/notes/note_detail.html b/karmaworld/templates/notes/note_detail.html index b6e80f8..7e2c519 100644 --- a/karmaworld/templates/notes/note_detail.html +++ b/karmaworld/templates/notes/note_detail.html @@ -37,14 +37,18 @@
{% if note.file_type == 'pdf' %} - - - - +
+
+ +
+
+ {% comment %} {% include 'partial/pdfembed.html' %} + {% endcomment %} {% else %} {# note.filetype == 'pdf' #} @@ -52,8 +56,7 @@
{% if note.html %}
- +
{% else %} {# note.html #} -- 2.25.1