mirror of
https://codeberg.org/tacerus/teddit.git
synced 2024-11-27 01:29:27 +01:00
add /r/all even when we have subscriptions
This commit is contained in:
parent
d72b00cb87
commit
f3eceae1f3
@ -9,6 +9,7 @@ div#topbar
|
|||||||
a(href="/preferences") [preferences]
|
a(href="/preferences") [preferences]
|
||||||
.top-links
|
.top-links
|
||||||
if user_preferences.subbed_subreddits && Array.isArray(user_preferences.subbed_subreddits)
|
if user_preferences.subbed_subreddits && Array.isArray(user_preferences.subbed_subreddits)
|
||||||
|
a(href="/r/all") All
|
||||||
each subreddit in user_preferences.subbed_subreddits
|
each subreddit in user_preferences.subbed_subreddits
|
||||||
a(href="/r/" + subreddit) #{subreddit}
|
a(href="/r/" + subreddit) #{subreddit}
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user