diff options
author | Sebastian Reichel <sre@ring0.de> | 2012-08-06 22:24:53 +0200 |
---|---|---|
committer | Sebastian Reichel <sre@ring0.de> | 2012-08-06 22:24:53 +0200 |
commit | 981bf6c511e37da357ab4dbb558e53297f959676 (patch) | |
tree | 9b0943a0df50b0eaa34d1922c74d057be8f61464 /inventar/templates | |
parent | 13476f388e2c5c7931b596192919912e72f2bf02 (diff) | |
download | ktt-inventory-system-981bf6c511e37da357ab4dbb558e53297f959676.tar.bz2 |
only show note field for items with notes
Diffstat (limited to 'inventar/templates')
-rw-r--r-- | inventar/templates/item.html | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/inventar/templates/item.html b/inventar/templates/item.html index 8fa7a24..86845e3 100644 --- a/inventar/templates/item.html +++ b/inventar/templates/item.html @@ -24,10 +24,12 @@ <td><pre>{{ description }}</pre></td> </tr> + {% if note %} <tr class="{% cycle rowcolor %}"> <th><img src="/static/note.svg" width="32" height="32" title="{% trans "Note" %}" alt="{% trans "Note" %}" /></th> <td><pre>{{ note }}</pre></td> </tr> + {% endif %} {% if image %} <tr class="{% cycle rowcolor %}"> |