summaryrefslogtreecommitdiffstats
path: root/inventar
diff options
context:
space:
mode:
authorSebastian Reichel <sre@ring0.de>2012-07-31 21:02:38 +0200
committerSebastian Reichel <sre@ring0.de>2012-07-31 21:02:38 +0200
commit6e4f7fc5774aa2d40120f863b61d148c7bad79d7 (patch)
treeb1658fdd0b488a5c8a6d9017415db2869d3b3866 /inventar
parent2829f53d788b4de178e01fe1f32729903244a6e8 (diff)
downloadktt-inventory-system-6e4f7fc5774aa2d40120f863b61d148c7bad79d7.tar.bz2
add Note field to item view
Diffstat (limited to 'inventar')
-rw-r--r--inventar/templates/item.html5
1 files changed, 5 insertions, 0 deletions
diff --git a/inventar/templates/item.html b/inventar/templates/item.html
index d144a18..d5c645b 100644
--- a/inventar/templates/item.html
+++ b/inventar/templates/item.html
@@ -24,6 +24,11 @@
<td><pre>{{ description }}</pre></td>
</tr>
+ <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>
+
{% if image %}
<tr class="{% cycle rowcolor %}">
<th><img src="/static/image.svg" width="32" height="32" title="{% trans "Image" %}" alt="{% trans "Image" %}" /></th>