Plume/templates/partials
Floréal Toumikian 4e43c676b4
Fixed: #713: Disply likes and boosts on post cards (#744)
This is a basic and simple way to display them. No interaction possible.

Alos, this patch is not optimised. as everytime a partial post_card is
called, `Post::count_likes()` and `Post::count_reshares()` are called
which means quite a few more quesies are sent to database unless diesel
uses some cache mechanisem.

A way to enhance this this would be to keep a count of likes and reshares
are kept in Post model / table.
2020-04-12 21:29:48 +02:00
..
comment.rs.html Rust 2018! (#726) 2020-01-21 07:02:03 +01:00
image_select.rs.html Rust 2018! (#726) 2020-01-21 07:02:03 +01:00
instance_description.rs.html Rust 2018! (#726) 2020-01-21 07:02:03 +01:00
post_card.rs.html Fixed: #713: Disply likes and boosts on post cards (#744) 2020-04-12 21:29:48 +02:00