projects
/
oweals
/
karmaworld.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
da89830
)
conditional display of note.desc on note_detail page
author
Seth Woodworth
<seth@sethish.com>
Thu, 10 Jan 2013 20:45:01 +0000
(15:45 -0500)
committer
Seth Woodworth
<seth@sethish.com>
Thu, 10 Jan 2013 20:45:01 +0000
(15:45 -0500)
karmaworld/templates/notes/note_detail.html
patch
|
blob
|
history
diff --git
a/karmaworld/templates/notes/note_detail.html
b/karmaworld/templates/notes/note_detail.html
index 8c63930bc330091ef3c0240db82d2eb46524651a..46507b3a73c56b75d4d0d0e37ee489f6ab279af8 100644
(file)
--- a/
karmaworld/templates/notes/note_detail.html
+++ b/
karmaworld/templates/notes/note_detail.html
@@
-107,9
+107,11
@@
<div class="row">
<div class="eight columns centered body_copy">
- <h1>description</h1>
+ {% if note.desc %}
+ <h1>description</h1>
- <p>{{ note.desc }}</p>
+ <p>{{ note.desc }}</p>
+ {% endif %}
<h1>notes</h1>