diff --git a/templates/discover.html b/templates/discover.html index 6f5509ca..371a46d8 100644 --- a/templates/discover.html +++ b/templates/discover.html @@ -45,8 +45,10 @@

({{ post.blog.useful_domain }})
Published {{ post.published_date|timesince }} ago - - - {{ post.upvotes }} toast{{ post.upvotes|pluralize }} + + + {{ post.upvotes }} + {% if request.user.is_staff %}
@@ -97,7 +99,7 @@

Score = log10(U) + (S / D * 8600) Where, -U = Upvotes (toasts) of a post +U = Upvotes of a post S = Seconds since Jan 1st, 2020 D = Days modifier (currently at 14) diff --git a/templates/search.html b/templates/search.html index b42b9d75..1d0bc10e 100644 --- a/templates/search.html +++ b/templates/search.html @@ -39,9 +39,10 @@

({{ post.blog.useful_domain }})
Published {{ post.published_date|timesince }} ago - - - {{ post.upvotes }} toast{{ post.upvotes|pluralize }} -
+ + + {{ post.upvotes }} +

{{ post.content|unmark }}

diff --git a/templates/snippets/upvote_form.html b/templates/snippets/upvote_form.html index 913bb780..eb796752 100644 --- a/templates/snippets/upvote_form.html +++ b/templates/snippets/upvote_form.html @@ -4,12 +4,27 @@ {% csrf_token %} {% if upvoted %} - + + + - - {{ post.upvotes }} toast{{ post.upvotes|pluralize }} + \ No newline at end of file