From 94b69cb76f0bdc6fe119a9acc84f73d3afc82cf2 Mon Sep 17 00:00:00 2001 From: Radek Czajka Date: Fri, 21 Oct 2022 16:57:42 +0200 Subject: [PATCH] Login, registration etc. --- .../catalogue/2022/author_detail.html | 2 +- .../templates/catalogue/2022/book_detail.html | 2 +- .../catalogue/2022/theme_detail.html | 2 +- .../club/2022/donation_step_base.html | 7 +- .../templates/infopages/2022/infopage.html | 2 +- src/newsletter/forms.py | 1 + .../newsletter/2022/subscribe_form.html | 54 ++++------- .../templates/newsletter/2022/subscribed.html | 36 +++---- src/newsletter/views.py | 1 - src/wolnelektury/forms.py | 3 +- src/wolnelektury/static/2022/more.scss | 94 ++++++++++++++++++- .../templates/2022/base_real.html | 19 +++- .../templates/2022/base_simple.html | 13 +++ src/wolnelektury/templates/2022/form.html | 19 ---- src/wolnelektury/templates/account/base.html | 2 +- src/wolnelektury/templates/openid/login.html | 27 ++++-- .../templates/registration/login.html | 79 +++++++--------- .../templates/registration/register.html | 30 ++++++ .../templates/socialaccount/base.html | 7 ++ src/wolnelektury/templatetags/title.py | 9 ++ src/wolnelektury/views.py | 11 +++ 21 files changed, 270 insertions(+), 150 deletions(-) create mode 100644 src/wolnelektury/templates/2022/base_simple.html delete mode 100644 src/wolnelektury/templates/2022/form.html create mode 100644 src/wolnelektury/templates/registration/register.html create mode 100644 src/wolnelektury/templates/socialaccount/base.html create mode 100644 src/wolnelektury/templatetags/title.py diff --git a/src/catalogue/templates/catalogue/2022/author_detail.html b/src/catalogue/templates/catalogue/2022/author_detail.html index 39b2d11eb..9ba6aaf7f 100644 --- a/src/catalogue/templates/catalogue/2022/author_detail.html +++ b/src/catalogue/templates/catalogue/2022/author_detail.html @@ -2,7 +2,7 @@ {% load choose_cites from social_tags %} -{% block content %} +{% block global-content %}