mirror of
https://github.com/redlib-org/redlib.git
synced 2025-05-14 05:52:53 +00:00
Add comment count in post (#659)
* Add comment count in post * Restyle comment count
This commit is contained in:
parent
7cb132af01
commit
3d0287f04f
2 changed files with 12 additions and 0 deletions
|
@ -44,6 +44,7 @@
|
|||
|
||||
<!-- SORT FORM -->
|
||||
<form id="sort">
|
||||
<p id="comment_count">{{post.comments.0}} {% if post.comments.0 == "1" %}comment{% else %}comments{% endif %} <span id="sorted_by">sorted by </span></p>
|
||||
<select name="sort" title="Sort comments by">
|
||||
{% call utils::options(sort, ["confidence", "top", "new", "controversial", "old"], "confidence") %}
|
||||
</select><button id="sort_submit" class="submit">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue