From f5d10198f01a8621678f8e1a3484a48d8ac87a99 Mon Sep 17 00:00:00 2001 From: Charles Connell Date: Mon, 20 Jan 2014 19:56:34 -0500 Subject: [PATCH] Load note iframe through JavaScript #287 --- karmaworld/templates/notes/note_detail.html | 48 +++++++++++++++++---- 1 file changed, 39 insertions(+), 9 deletions(-) diff --git a/karmaworld/templates/notes/note_detail.html b/karmaworld/templates/notes/note_detail.html index 5bcd9d7..df01226 100644 --- a/karmaworld/templates/notes/note_detail.html +++ b/karmaworld/templates/notes/note_detail.html @@ -18,6 +18,41 @@ + + + {% endblock %} {% block content %} @@ -106,12 +141,7 @@ - {% comment %} - # TODO: embed and pass the url with this included when we fix the css integration issues - {% include 'partial/pdfembed.html' %} - {% endcomment %} - - {% else %} {# if pdf #} + {% else %}
@@ -119,8 +149,8 @@ {% else %} {# note.static_html #} @@ -129,7 +159,7 @@
{% endif %} {# note.static_html #} - {% endif %} {# note.filetype == 'pdf' #} + {% endif %}
-- 2.25.1