From: Charles Connell Date: Tue, 21 Jan 2014 00:56:34 +0000 (-0500) Subject: Load note iframe through JavaScript #287 X-Git-Tag: release-20150131~226 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=f5d10198f01a8621678f8e1a3484a48d8ac87a99;p=oweals%2Fkarmaworld.git Load note iframe through JavaScript #287 --- 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 %}