summaryrefslogtreecommitdiffstats
path: root/hyperkitty/templates/threads/right_col.html
diff options
context:
space:
mode:
authorAurélien Bompard <aurelien@bompard.org>2013-07-18 13:46:46 +0200
committerAurélien Bompard <aurelien@bompard.org>2013-07-18 13:50:08 +0200
commit63db25bb5e1a2605c7a2fdaabcba32422191f70b (patch)
treedf8d09107b5a8c06546ca99e991d6249d5e98960 /hyperkitty/templates/threads/right_col.html
parentfd5bdaf0bd47260e4a797ff2156036a80d3ac3ee (diff)
downloadhyperkitty-63db25bb5e1a2605c7a2fdaabcba32422191f70b.tar.gz
hyperkitty-63db25bb5e1a2605c7a2fdaabcba32422191f70b.tar.xz
hyperkitty-63db25bb5e1a2605c7a2fdaabcba32422191f70b.zip
Add a page to reattach a broken thread
Diffstat (limited to 'hyperkitty/templates/threads/right_col.html')
-rw-r--r--hyperkitty/templates/threads/right_col.html6
1 files changed, 6 insertions, 0 deletions
diff --git a/hyperkitty/templates/threads/right_col.html b/hyperkitty/templates/threads/right_col.html
index 5384d03..c6d6d30 100644
--- a/hyperkitty/templates/threads/right_col.html
+++ b/hyperkitty/templates/threads/right_col.html
@@ -50,6 +50,12 @@
{{ addtag_form.as_p }}
</form>
</div>
+ {% if user.is_staff %}
+ <p><i class="icon-resize-small"></i>
+ <a href="{% url 'thread_reattach' mlist_fqdn=mlist.name threadid=threadid %}"
+ >Reattach this thread</a>
+ </p>
+ {% endif %}
<div id="participants">
<span id="participants_title">participants</span> ({{participants|length}})
<ul>