summaryrefslogtreecommitdiffstats
path: root/hyperkitty/templates/threads
diff options
context:
space:
mode:
authorAurélien Bompard <aurelien@bompard.org>2012-10-11 12:42:06 +0200
committerAurélien Bompard <aurelien@bompard.org>2012-10-11 12:42:06 +0200
commit270ac090732ee3a42e595d9d04d75b944fc2181c (patch)
tree27c8fadbd336c1f6d2571fbdc19725790fd7a998 /hyperkitty/templates/threads
parent37ff508a20036e29775e9784cecf9d6ee9a360c5 (diff)
Improve the 'add tag' form
Diffstat (limited to 'hyperkitty/templates/threads')
-rw-r--r--hyperkitty/templates/threads/right_col.html5
1 files changed, 2 insertions, 3 deletions
diff --git a/hyperkitty/templates/threads/right_col.html b/hyperkitty/templates/threads/right_col.html
index 836da75..4534dae 100644
--- a/hyperkitty/templates/threads/right_col.html
+++ b/hyperkitty/templates/threads/right_col.html
@@ -30,6 +30,7 @@
<hr id="grey"/>
<div id="tags">
<span id="tag_title">tags </span>({{tags|length}})
+ {% if tags|length %}
<ul class="inline">
{% for tag in tags %}
<li>
@@ -37,14 +38,12 @@
</li>
{% endfor %}
</ul>
+ {% endif %}
</div>
<div id="add_tag">
<form id="add_tag_form" name="addtag" action="{% url add_tag mlist_fqdn=list_address, email_id=threadid %}" method="post">
{% csrf_token %}
{{ addtag_form.as_p }}
- <button type="submit">
- Add a tag
- </button>
</form>
</div>
<div id="participants">