re-add subscriptions
This commit is contained in:
@ -20,6 +20,11 @@
|
||||
</span>
|
||||
<div>
|
||||
{% if can_subscribe %}
|
||||
<form class="modform" action="{{ url_for('threads.subscribe', slug=thread.slug) }}" method="post">
|
||||
<input type='hidden' name='last_visible_post' value='{{posts[-1].id}}'>
|
||||
<input type='hidden' name='subscribe' value='{{ 'unsubscribe' if is_subscribed else 'subscribe' }}'>
|
||||
<input type='submit' value='{{ 'Unsubscribe' if is_subscribed else 'Subscribe' }}'>
|
||||
</form>
|
||||
{% endif %}
|
||||
{% if can_lock %}
|
||||
<form class="modform" action="{{ url_for("threads.lock", slug=thread.slug) }}" method="post">
|
||||
|
Reference in New Issue
Block a user