From ab78da735ff2b8865e4d6f27ff5d233237adf844 Mon Sep 17 00:00:00 2001 From: Mouse Reeve Date: Wed, 31 Mar 2021 09:50:40 -0700 Subject: [PATCH] Adds books page header snippet --- bookwyrm/templates/user/books_header.html | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 bookwyrm/templates/user/books_header.html diff --git a/bookwyrm/templates/user/books_header.html b/bookwyrm/templates/user/books_header.html new file mode 100644 index 000000000..8fea84c7a --- /dev/null +++ b/bookwyrm/templates/user/books_header.html @@ -0,0 +1,6 @@ +{% load i18n %} +{% if is_self %} +{% trans "Your books" %} +{% else %} +{% blocktrans with username=user.display_name %}{{ username }}'s books{% endblocktrans %} +{% endif %}