display number of results in search
This commit is contained in:
parent
e0177482b2
commit
da9bf3b3e0
|
@ -1134,6 +1134,10 @@ a.sub-to-subreddit.gray {
|
||||||
border-radius: 0px;
|
border-radius: 0px;
|
||||||
margin-bottom: 11px;
|
margin-bottom: 11px;
|
||||||
}
|
}
|
||||||
|
p.number-of-results {
|
||||||
|
font-size: 0.9rem;
|
||||||
|
margin: 0px 0px 20px 20px;
|
||||||
|
}
|
||||||
/* REDDIT STYLES */
|
/* REDDIT STYLES */
|
||||||
.md .md-spoiler-text {
|
.md .md-spoiler-text {
|
||||||
border-radius:2px;
|
border-radius:2px;
|
||||||
|
|
|
@ -100,6 +100,7 @@ html
|
||||||
if json.posts.length === 0 && !no_query
|
if json.posts.length === 0 && !no_query
|
||||||
p no results
|
p no results
|
||||||
else
|
else
|
||||||
|
p.number-of-results results: #{json.posts.length}
|
||||||
each link in json.posts
|
each link in json.posts
|
||||||
.link
|
.link
|
||||||
.upvotes
|
.upvotes
|
||||||
|
|
Loading…
Reference in New Issue