From 0291ffbcb126829d1c0fe883c03d07c8615f856e Mon Sep 17 00:00:00 2001 From: Christof Dorner Date: Thu, 12 Jan 2023 20:57:17 +0100 Subject: [PATCH] Fix generated note content checks in card header template --- bookwyrm/templates/discover/card-header.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bookwyrm/templates/discover/card-header.html b/bookwyrm/templates/discover/card-header.html index 6260c04f5..004b81461 100644 --- a/bookwyrm/templates/discover/card-header.html +++ b/bookwyrm/templates/discover/card-header.html @@ -9,12 +9,12 @@ {{ username }} wants to read {{ book_title }} {% endblocktrans %} {% endif %} - {% if finished reading or status.content == '

finished reading

' %} + {% if status.content == 'finished reading' or status.content == '

finished reading

' %} {% blocktrans trimmed %} {{ username }} finished reading {{ book_title }} {% endblocktrans %} {% endif %} - {% if started reading or status.content == '

started reading

' %} + {% if status.content == 'started reading' or status.content == '

started reading

' %} {% blocktrans trimmed %} {{ username }} started reading {{ book_title }} {% endblocktrans %}