From: Seth Woodworth Date: Thu, 10 Jan 2013 20:45:01 +0000 (-0500) Subject: conditional display of note.desc on note_detail page X-Git-Tag: release-20150131~572 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=4f16ee2bc94a677ef3bf34aec875e510dba0da91;p=oweals%2Fkarmaworld.git conditional display of note.desc on note_detail page --- diff --git a/karmaworld/templates/notes/note_detail.html b/karmaworld/templates/notes/note_detail.html index 8c63930..46507b3 100644 --- a/karmaworld/templates/notes/note_detail.html +++ b/karmaworld/templates/notes/note_detail.html @@ -107,9 +107,11 @@
-

description

+ {% if note.desc %} +

description

-

{{ note.desc }}

+

{{ note.desc }}

+ {% endif %}

notes