mirror of
https://github.com/spikecodes/libreddit
synced 2024-12-26 10:35:24 +01:00
Always show Feeds dropdown (Fixes #408)
This commit is contained in:
parent
322aa97a18
commit
7f5bfc04b3
@ -38,7 +38,6 @@
|
|||||||
{%- endmacro %}
|
{%- endmacro %}
|
||||||
|
|
||||||
{% macro sub_list(current) -%}
|
{% macro sub_list(current) -%}
|
||||||
{% if prefs.subscriptions.len() > 0 %}
|
|
||||||
<details id="feeds">
|
<details id="feeds">
|
||||||
<summary>Feeds</summary>
|
<summary>Feeds</summary>
|
||||||
<div id="feed_list">
|
<div id="feed_list">
|
||||||
@ -46,13 +45,14 @@
|
|||||||
<a href="/">Home</a>
|
<a href="/">Home</a>
|
||||||
<a href="/r/popular">Popular</a>
|
<a href="/r/popular">Popular</a>
|
||||||
<a href="/r/all">All</a>
|
<a href="/r/all">All</a>
|
||||||
<p>REDDIT FEEDS</p>
|
{% if prefs.subscriptions.len() > 0 %}
|
||||||
{% for sub in prefs.subscriptions %}
|
<p>REDDIT FEEDS</p>
|
||||||
<a href="/r/{{ sub }}" {% if sub == current %}class="selected"{% endif %}>{{ sub }}</a>
|
{% for sub in prefs.subscriptions %}
|
||||||
{% endfor %}
|
<a href="/r/{{ sub }}" {% if sub == current %}class="selected"{% endif %}>{{ sub }}</a>
|
||||||
|
{% endfor %}
|
||||||
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
</details>
|
</details>
|
||||||
{% endif %}
|
|
||||||
{%- endmacro %}
|
{%- endmacro %}
|
||||||
|
|
||||||
{% macro render_hls_notification(redirect_url) -%}
|
{% macro render_hls_notification(redirect_url) -%}
|
||||||
|
Loading…
Reference in New Issue
Block a user