mv before & after buttons before search, fix #130
This commit is contained in:
parent
43a11a9e39
commit
748825bcf8
|
@ -112,6 +112,13 @@ html
|
||||||
!= unescape(link.selftext_html)
|
!= unescape(link.selftext_html)
|
||||||
a(href="" + link.permalink + "", class="comments")
|
a(href="" + link.permalink + "", class="comments")
|
||||||
| #{link.num_comments} comments
|
| #{link.num_comments} comments
|
||||||
|
if json.info.before || json.info.after
|
||||||
|
.view-more-links
|
||||||
|
- var subreddit = 'all'
|
||||||
|
if(user_preferences.subbed_subreddits && Array.isArray(user_preferences.subbed_subreddits))
|
||||||
|
- subreddit = user_preferences.subbed_subreddits.join('+')
|
||||||
|
if json.info.after
|
||||||
|
a(href="/r/" + subreddit + "/" + sortby + "?t=" + (past ? past : '') + "&after=" + json.info.after + "") next ›
|
||||||
#search
|
#search
|
||||||
form(action="/r/all/search", method="GET")
|
form(action="/r/all/search", method="GET")
|
||||||
div
|
div
|
||||||
|
@ -121,11 +128,4 @@ html
|
||||||
label(for="nsfw") include NSFW results
|
label(for="nsfw") include NSFW results
|
||||||
input(type="checkbox", name="nsfw", id="nsfw", checked="checked")
|
input(type="checkbox", name="nsfw", id="nsfw", checked="checked")
|
||||||
input(type="submit", value="search")
|
input(type="submit", value="search")
|
||||||
if json.info.before || json.info.after
|
|
||||||
.view-more-links
|
|
||||||
- var subreddit = 'all'
|
|
||||||
if(user_preferences.subbed_subreddits && Array.isArray(user_preferences.subbed_subreddits))
|
|
||||||
- subreddit = user_preferences.subbed_subreddits.join('+')
|
|
||||||
if json.info.after
|
|
||||||
a(href="/r/" + subreddit + "/" + sortby + "?t=" + (past ? past : '') + "&after=" + json.info.after + "") next ›
|
|
||||||
include includes/footer.pug
|
include includes/footer.pug
|
||||||
|
|
Loading…
Reference in New Issue