aboutsummaryrefslogtreecommitdiff
path: root/app/templates/threads/view.html
blob: 397fba3331a63f969a98cd83123d50993b6d8fc4 (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
{% extends "base.html" %}

{% block title %}
Threads
{% endblock %}

{% block content %}
	<h1>{% if thread.private %}&#x1f512; {% endif %}{{ thread.title }}</h1>

	{% if thread.package %}
		<p>
			Package: <a href="{{ thread.package.getDetailsURL() }}">{{ thread.package.title }}</a>
		</p>
	{% endif %}

	{% if thread.private %}
		<i>
			This thread is only visible to its creator, the package owner, and users of
			Editor rank or above.
		</i>
	{% endif %}

	{% from "macros/threads.html" import render_thread %}
	{{ render_thread(thread, current_user) }}
{% endblock %}