1 {% extends "base.html" %}
8 {% if current_user.is_authenticated %}
9 {% if current_user in thread.watchers %}
10 <form method="post" action="{{ thread.getUnsubscribeURL() }}" class="float-right">
11 <input type="hidden" name="csrf_token" value="{{ csrf_token() }}" />
12 <input type="submit" class="btn btn-primary" value="Unsubscribe" />
15 <form method="post" action="{{ thread.getSubscribeURL() }}" class="float-right">
16 <input type="hidden" name="csrf_token" value="{{ csrf_token() }}" />
17 <input type="submit" class="btn btn-primary" value="Subscribe" />
22 <h1>{% if thread.private %}🔒 {% endif %}{{ thread.title }}</h1>
24 {% if thread.package or current_user.is_authenticated %}
25 {% if thread.package %}
26 <p>Package: <a href="{{ thread.package.getDetailsURL() }}">{{ thread.package.title }}</a></p>
30 {% if thread.private %}
32 This thread is only visible to its creator, the package owner, and users of
37 {% from "macros/threads.html" import render_thread %}
38 {{ render_thread(thread, current_user) }}