From: Radek Czajka Date: Mon, 27 Sep 2021 14:03:22 +0000 (+0200) Subject: Various fixes. X-Git-Url: https://git.mdrn.pl/wolnelektury.git/commitdiff_plain/452c475a6450a61a15c857594f995315cf153083 Various fixes. --- diff --git a/requirements/requirements-dev.txt b/requirements/requirements-dev.txt index d68937188..a47acff3f 100644 --- a/requirements/requirements-dev.txt +++ b/requirements/requirements-dev.txt @@ -1,4 +1,4 @@ --i https://py.mdrn.pl:8443/simple/ +-i https://py.mdrn.pl/simple/ django-debug-toolbar<1.10 django-debug-toolbar-template-timings diff --git a/src/catalogue/templates/catalogue/snippets/jplayer.html b/src/catalogue/templates/catalogue/snippets/jplayer.html index c82c1e826..647f42dfc 100644 --- a/src/catalogue/templates/catalogue/snippets/jplayer.html +++ b/src/catalogue/templates/catalogue/snippets/jplayer.html @@ -36,7 +36,7 @@ {% trans "Artist:" %} {{ extra_info.artist_name }}, {% trans "director:" %} {{ extra_info.director_name }} {% if extra_info.license %}{% license_icon extra_info.license %}{% endif %} - {% if i.mp3.project_icon %}{% endif %} + {% if i.mp3.project_icon %}{% endif %}

{% if i.mp3.project_description %}{{ i.mp3.project_description }}{% else %} {% with fb=extra_info.funded_by %} diff --git a/src/club/views.py b/src/club/views.py index ce76d6b76..dc1bef07b 100644 --- a/src/club/views.py +++ b/src/club/views.py @@ -193,6 +193,7 @@ def member_verify(request): emails = request.POST.get('emails').strip().split('\n') rows = ['email;członek;nazwa użytkownika;aktywny;co najmniej do'] for email in emails: + email = email.strip() row = [email] schedules = models.Schedule.objects.filter(email=email).exclude(payed_at=None) if schedules.exists(): diff --git a/src/wolnelektury/static/scss/main/book_box.scss b/src/wolnelektury/static/scss/main/book_box.scss index 8e47bfe9a..9cec6075d 100644 --- a/src/wolnelektury/static/scss/main/book_box.scss +++ b/src/wolnelektury/static/scss/main/book_box.scss @@ -185,6 +185,12 @@ @include size(margin-top, 5px); } + .project-icon { + @include size(max-width, 100px); + @include size(max-height, 100px); + } + + @include min-screen($S_BOOK_SHORT_FULL) { // Show full title on the work's page. diff --git a/src/wolnelektury/static/scss/main/form.scss b/src/wolnelektury/static/scss/main/form.scss index 8518df366..3a79737c4 100644 --- a/src/wolnelektury/static/scss/main/form.scss +++ b/src/wolnelektury/static/scss/main/form.scss @@ -8,10 +8,6 @@ form table { padding-bottom: 1em; } - .required th:before { - content: "* "; - } - .errorlist { color: red; margin: 0;