mirror of
https://github.com/redlib-org/redlib.git
synced 2025-04-03 21:17:37 +03:00
Subscribe to multireddit button. Closes #104
This commit is contained in:
parent
809be42e01
commit
f06320a4ae
4 changed files with 39 additions and 18 deletions
|
@ -39,6 +39,12 @@
|
|||
{% endif %}
|
||||
</form>
|
||||
|
||||
{% if sub.name.contains("+") %}
|
||||
<form action="/r/{{ sub.name }}/subscribe/" method="POST">
|
||||
<button id="multisub" class="subscribe">Subscribe to Multireddit</button>
|
||||
</form>
|
||||
{% endif %}
|
||||
|
||||
<div id="posts">
|
||||
{% for post in posts %}
|
||||
{% if !(post.flags.nsfw && prefs.show_nsfw != "on") %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue