summaryrefslogtreecommitdiffstats
path: root/hyperkitty/templates/threads/right_col.html
blob: 7f200fc72cdc88727b7d34b7fed356f11f7b8fe7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
{% load url from future %}
{% load gravatar %}
{% load hk_generic %}

<!-- right column -->
<section id="thread-overview-info">
	<!-- Start dates -->
	<div id="thread-date-info" class="row-fluid">
		<div class="days-num">
			{{ days_inactive }}
		</div>
		<div class="days-text">
			days
			<br />
			inactive
		</div>
		<div class="days-num">
			{{ days_old }}
		</div>
		<div class="days-text">
			days
			<br />
			old
		</div>
	</div>
	<form id="fav_form" name="favorite" method="post" class="favorite"
		  action="{% url 'favorite' mlist_fqdn=mlist.name threadid=threadid %}">
		{% csrf_token %}
		<input type="hidden" name="action" value="{{ fav_action }}" />
		<p>
			<a href="#AddFav" class="notsaved{% if not user.is_authenticated %} disabled" title="You must be logged-in to have favorites.{% endif %}">Add to favorite discussions</a>
			<a href="#RmFav" class="saved">Remove from favorite discussions</a>
		</p>
	</form>
	<!-- End dates -->
	<div id="tags">
		{% include 'threads/tags.html' %}
	</div>
	<div id="add-tag">
		<form id="add-tag-form" name="addtag" method="post"
		      action="{% url 'add_tag' mlist_fqdn=mlist.name threadid=threadid %}">
			{% csrf_token %}
			{{ addtag_form.as_p }}
		</form>
	</div>
	<div id="participants">
		<span id="participants_title">participants</span> ({{participants|length}})
		<ul>
			{% for name, email in participants %}
			<li>
				{% gravatar email 20 %}
				{{ name|escapeemail }}
			</li>
			{% endfor %}
		</ul>
	</div>
</section>

{# vim: set noet: #}