1
0
mirror of https://github.com/spikecodes/libreddit synced 2024-12-25 18:15:16 +01:00

Always show Feeds dropdown (Fixes #408)

This commit is contained in:
spikecodes 2022-05-20 22:42:05 -07:00
parent 322aa97a18
commit 7f5bfc04b3
No known key found for this signature in database
GPG Key ID: 004CECFF9B463BCB

View File

@ -38,7 +38,6 @@
{%- endmacro %}
{% macro sub_list(current) -%}
{% if prefs.subscriptions.len() > 0 %}
<details id="feeds">
<summary>Feeds</summary>
<div id="feed_list">
@ -46,13 +45,14 @@
<a href="/">Home</a>
<a href="/r/popular">Popular</a>
<a href="/r/all">All</a>
<p>REDDIT FEEDS</p>
{% for sub in prefs.subscriptions %}
<a href="/r/{{ sub }}" {% if sub == current %}class="selected"{% endif %}>{{ sub }}</a>
{% endfor %}
{% if prefs.subscriptions.len() > 0 %}
<p>REDDIT FEEDS</p>
{% for sub in prefs.subscriptions %}
<a href="/r/{{ sub }}" {% if sub == current %}class="selected"{% endif %}>{{ sub }}</a>
{% endfor %}
{% endif %}
</div>
</details>
{% endif %}
{%- endmacro %}
{% macro render_hls_notification(redirect_url) -%}