From: Radek Czajka Date: Fri, 6 Dec 2024 12:03:47 +0000 (+0100) Subject: fix dictionary for ptrad X-Git-Url: https://git.mdrn.pl/wolnelektury.git/commitdiff_plain/7e1eb02f59f06e2d40e85be4dda05f7a222fe593 fix dictionary for ptrad --- diff --git a/src/annoy/migrations/0018_alter_banner_style.py b/src/annoy/migrations/0018_alter_banner_style.py new file mode 100644 index 000000000..45ed1e6b1 --- /dev/null +++ b/src/annoy/migrations/0018_alter_banner_style.py @@ -0,0 +1,18 @@ +# Generated by Django 4.0.8 on 2024-12-06 08:54 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('annoy', '0017_banner_progress_banner_target_alter_banner_place'), + ] + + operations = [ + migrations.AlterField( + model_name='banner', + name='style', + field=models.CharField(blank=True, choices=[('blackout_full', 'Blackout — Cały ekran'), ('blackout_upper', 'Blackout — Górna połowa ekranu'), ('crisis_quiet', 'Kryzysowa — Spokojny'), ('crisis_loud', 'Kryzysowa — Ostry')], max_length=255, verbose_name='styl'), + ), + ] diff --git a/src/dictionary/constants.py b/src/dictionary/constants.py index 2cef90bf9..59c8b910e 100644 --- a/src/dictionary/constants.py +++ b/src/dictionary/constants.py @@ -9,4 +9,5 @@ FN_TYPES = { 'pe': _("przypisy redaktorów Wolnych Lektur"), 'pr': _("przypisy źródła"), 'pt': _("przypisy tłumacza"), + 'ptrad': _("przypisy tradycyjne"), } diff --git a/src/wolnelektury/templates/header.html b/src/wolnelektury/templates/header.html index 17e237948..f763f011a 100644 --- a/src/wolnelektury/templates/header.html +++ b/src/wolnelektury/templates/header.html @@ -8,7 +8,7 @@ {% annoy_banner_crisis %} -{% annoy_banner_blackout %} +{#% annoy_banner_blackout %#}