diff --git a/bookwyrm/models/status.py b/bookwyrm/models/status.py index eb79e43d..f7d924b9 100644 --- a/bookwyrm/models/status.py +++ b/bookwyrm/models/status.py @@ -214,7 +214,7 @@ class Boost(Status): ActivityMapping('object', 'boosted_status'), ] - activity_serializer = activitypub.Like + activity_serializer = activitypub.Boost # This constraint can't work as it would cross tables. # class Meta: diff --git a/bookwyrm/static/css/format.css b/bookwyrm/static/css/format.css index 65c5f6f2..617d9391 100644 --- a/bookwyrm/static/css/format.css +++ b/bookwyrm/static/css/format.css @@ -31,7 +31,7 @@ input.toggle-control { display: none; } -.toggle-content.hidden { +.hidden { display: none; } diff --git a/bookwyrm/templates/feed.html b/bookwyrm/templates/feed.html index 1cd96cbe..2afef2f3 100644 --- a/bookwyrm/templates/feed.html +++ b/bookwyrm/templates/feed.html @@ -5,8 +5,8 @@
{% for activity in activities %} -
- {% include 'snippets/status.html' with status=activity %} +
+ {% include 'snippets/status.html' with status=activity %}
{% endfor %} diff --git a/bookwyrm/templates/snippets/book_titleby.html b/bookwyrm/templates/snippets/book_titleby.html index 543c64c5..d8b84646 100644 --- a/bookwyrm/templates/snippets/book_titleby.html +++ b/bookwyrm/templates/snippets/book_titleby.html @@ -1,8 +1,8 @@ - + {{ book.title }} {% if book.authors %} - + by {% include 'snippets/authors.html' with book=book %} {% endif %} diff --git a/bookwyrm/templates/snippets/interaction.html b/bookwyrm/templates/snippets/interaction.html index ca546ccf..7f0033ed 100644 --- a/bookwyrm/templates/snippets/interaction.html +++ b/bookwyrm/templates/snippets/interaction.html @@ -1,20 +1,22 @@ {% load fr_display %} -