From ad3dc16005a046855798be4e7a595ad8e94082e3 Mon Sep 17 00:00:00 2001 From: root Date: Tue, 22 Jun 2021 13:18:23 +0000 Subject: [PATCH] Removrd Bio from Your books --- bookwyrm/templates/user/layout.html | 0 .../templates/user/layout_without_bio.html | 58 +++++++++++++++++++ bookwyrm/templates/user/lists.html | 0 bookwyrm/templates/user/shelf/shelf.html | 2 +- bookwyrm/templates/user/user.html | 0 bookwyrm/templates/user/user_preview.html | 0 6 files changed, 59 insertions(+), 1 deletion(-) mode change 100644 => 100755 bookwyrm/templates/user/layout.html create mode 100755 bookwyrm/templates/user/layout_without_bio.html mode change 100644 => 100755 bookwyrm/templates/user/lists.html mode change 100644 => 100755 bookwyrm/templates/user/user.html mode change 100644 => 100755 bookwyrm/templates/user/user_preview.html diff --git a/bookwyrm/templates/user/layout.html b/bookwyrm/templates/user/layout.html old mode 100644 new mode 100755 diff --git a/bookwyrm/templates/user/layout_without_bio.html b/bookwyrm/templates/user/layout_without_bio.html new file mode 100755 index 00000000..d76cdc7c --- /dev/null +++ b/bookwyrm/templates/user/layout_without_bio.html @@ -0,0 +1,58 @@ +{% extends 'layout.html' %} +{% load i18n %} +{% load humanize %} +{% load utilities %} +{% load markdown %} +{% load layout %} + +{% block title %}{{ user.display_name }}{% endblock %} + +{% block opengraph_images %} + {% include 'snippets/opengraph_images.html' with image=user.preview_image %} +{% endblock %} + +{% block content %} +
+ {% block header %} +

+ {% trans "User Profile" %} +

+ {% endblock %} +
+ + +{% block tabs %} +{% with user|username as username %} + +{% endwith %} +{% endblock %} + +{% block panel %}{% endblock %} + +{% endblock %} diff --git a/bookwyrm/templates/user/lists.html b/bookwyrm/templates/user/lists.html old mode 100644 new mode 100755 diff --git a/bookwyrm/templates/user/shelf/shelf.html b/bookwyrm/templates/user/shelf/shelf.html index 2163db8c..6f0babd4 100644 --- a/bookwyrm/templates/user/shelf/shelf.html +++ b/bookwyrm/templates/user/shelf/shelf.html @@ -1,4 +1,4 @@ -{% extends 'user/layout.html' %} +{% extends 'user/layout_without_bio.html' %} {% load bookwyrm_tags %} {% load utilities %} {% load humanize %} diff --git a/bookwyrm/templates/user/user.html b/bookwyrm/templates/user/user.html old mode 100644 new mode 100755 diff --git a/bookwyrm/templates/user/user_preview.html b/bookwyrm/templates/user/user_preview.html old mode 100644 new mode 100755