diff options
| author | ReverM <danael.villeneuve@gmail.com> | 2025-11-14 12:55:57 -0500 |
|---|---|---|
| committer | Star Rauchenberger <fefferburbia@gmail.com> | 2025-11-14 12:58:26 -0500 |
| commit | c260fbba4ed7cd0e7b80d5ae1316f597f9abb827 (patch) | |
| tree | a1ff74e6500a0e36034904b625c3ef120028ffa0 /app/views/blogs/_blog.html.haml | |
| parent | b86bf1917502a6240b8cc32e23c455984b50518b (diff) | |
| download | thoughts-c260fbba4ed7cd0e7b80d5ae1316f597f9abb827.tar.gz thoughts-c260fbba4ed7cd0e7b80d5ae1316f597f9abb827.tar.bz2 thoughts-c260fbba4ed7cd0e7b80d5ae1316f597f9abb827.zip | |
There has been a lot of bots that have mass downvoted stuff. Hatkirby requested this change
Diffstat (limited to 'app/views/blogs/_blog.html.haml')
| -rw-r--r-- | app/views/blogs/_blog.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
| diff --git a/app/views/blogs/_blog.html.haml b/app/views/blogs/_blog.html.haml index 878b1a2..34b343f 100644 --- a/app/views/blogs/_blog.html.haml +++ b/app/views/blogs/_blog.html.haml | |||
| @@ -24,5 +24,5 @@ | |||
| 24 | %time.dt-published{ datetime: blog.visible_date.strftime("%Y-%m-%dT%H:%M:%SZ%z") }= blog.visible_date.strftime("%B #{blog.visible_date.day.ordinalize}, %Y at %-I:%M:%S%P") | 24 | %time.dt-published{ datetime: blog.visible_date.strftime("%Y-%m-%dT%H:%M:%SZ%z") }= blog.visible_date.strftime("%B #{blog.visible_date.day.ordinalize}, %Y at %-I:%M:%S%P") |
| 25 | .post-vote{ id: "blog-vote-section-#{blog.id}" } | 25 | .post-vote{ id: "blog-vote-section-#{blog.id}" } |
| 26 | %span.vote-link{ id: "blog-upvote-link-#{blog.id}" }= link_to_unless (not blog.published or blog.already_upvoted?(request.remote_ip)), "👍", upvote_blog_path(blog), remote: true, rel: "nofollow", class: "blog-upvote-link", method: :post | 26 | %span.vote-link{ id: "blog-upvote-link-#{blog.id}" }= link_to_unless (not blog.published or blog.already_upvoted?(request.remote_ip)), "👍", upvote_blog_path(blog), remote: true, rel: "nofollow", class: "blog-upvote-link", method: :post |
| 27 | %span.post-rating{ id: "blog-rating-#{blog.id}" }= blog.upvotes - blog.downvotes | 27 | %span.post-rating{ id: "blog-rating-#{blog.id}" }= blog.upvotes |
| 28 | %span.vote-link{ id: "blog-downvote-link-#{blog.id}" }= link_to_unless (not blog.published or blog.already_downvoted?(request.remote_ip)), "👎", downvote_blog_path(blog), remote: true, rel: "nofollow", class: "blog-downvote-link", method: :post | 28 | %span.vote-link{ id: "blog-downvote-link-#{blog.id}" }= link_to_unless (not blog.published or blog.already_downvoted?(request.remote_ip)), "👎", downvote_blog_path(blog), remote: true, rel: "nofollow", class: "blog-downvote-link", method: :post |
