From 4f16ee2bc94a677ef3bf34aec875e510dba0da91 Mon Sep 17 00:00:00 2001 From: Seth Woodworth Date: Thu, 10 Jan 2013 15:45:01 -0500 Subject: [PATCH] conditional display of note.desc on note_detail page --- karmaworld/templates/notes/note_detail.html | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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

-- 2.25.1