Better management of manually-set members.
authorRadek Czajka <rczajka@rczajka.pl>
Thu, 26 Nov 2020 12:10:44 +0000 (13:10 +0100)
committerRadek Czajka <rczajka@rczajka.pl>
Thu, 26 Nov 2020 12:10:44 +0000 (13:10 +0100)
41 files changed:
src/catalogue/locale/de/LC_MESSAGES/django.po
src/catalogue/locale/en/LC_MESSAGES/django.po
src/catalogue/locale/es/LC_MESSAGES/django.po
src/catalogue/locale/fr/LC_MESSAGES/django.po
src/catalogue/locale/it/LC_MESSAGES/django.po
src/catalogue/locale/lt/LC_MESSAGES/django.po
src/catalogue/locale/ru/LC_MESSAGES/django.po
src/catalogue/locale/uk/LC_MESSAGES/django.po
src/club/admin.py
src/club/locale/de/LC_MESSAGES/django.po
src/club/locale/en/LC_MESSAGES/django.po
src/club/locale/es/LC_MESSAGES/django.po
src/club/locale/fr/LC_MESSAGES/django.po
src/club/locale/it/LC_MESSAGES/django.po
src/club/locale/lt/LC_MESSAGES/django.po
src/club/locale/pl/LC_MESSAGES/django.mo
src/club/locale/pl/LC_MESSAGES/django.po
src/club/locale/ru/LC_MESSAGES/django.po
src/club/locale/uk/LC_MESSAGES/django.po
src/club/models.py
src/messaging/locale/de/LC_MESSAGES/django.po
src/messaging/locale/en/LC_MESSAGES/django.po
src/messaging/locale/es/LC_MESSAGES/django.po
src/messaging/locale/fr/LC_MESSAGES/django.po
src/messaging/locale/it/LC_MESSAGES/django.po
src/messaging/locale/lt/LC_MESSAGES/django.po
src/messaging/locale/pl/LC_MESSAGES/django.mo
src/messaging/locale/pl/LC_MESSAGES/django.po
src/messaging/locale/ru/LC_MESSAGES/django.po
src/messaging/locale/uk/LC_MESSAGES/django.po
src/messaging/models.py
src/messaging/states.py
src/wolnelektury/locale/de/LC_MESSAGES/django.po
src/wolnelektury/locale/en/LC_MESSAGES/django.po
src/wolnelektury/locale/es/LC_MESSAGES/django.po
src/wolnelektury/locale/fr/LC_MESSAGES/django.po
src/wolnelektury/locale/it/LC_MESSAGES/django.po
src/wolnelektury/locale/lt/LC_MESSAGES/django.po
src/wolnelektury/locale/pl/LC_MESSAGES/django.po
src/wolnelektury/locale/ru/LC_MESSAGES/django.po
src/wolnelektury/locale/uk/LC_MESSAGES/django.po

index 327c386..f4a7ec6 100644 (file)
@@ -280,11 +280,11 @@ msgstr "Buch mit dem Slug = \"%s\" ist nicht vorhanden."
 msgid "Book %s already exists"
 msgstr "Buch %s ist bereits vorhanden"
 
-#: catalogue/models/book.py:813
+#: catalogue/models/book.py:853
 msgid "This work needs modernisation"
 msgstr ""
 
-#: catalogue/models/book.py:892 catalogue/models/bookmedia.py:27
+#: catalogue/models/book.py:932 catalogue/models/bookmedia.py:27
 #, python-format
 msgid "%s file"
 msgstr "%s XML-Datei"
@@ -408,7 +408,7 @@ msgid "tags"
 msgstr "Tags"
 
 #: catalogue/templates/catalogue/book_detail.html:24
-#: catalogue/templates/catalogue/book_text.html:25
+#: catalogue/templates/catalogue/book_text.html:34
 #, fuzzy
 #| msgid "Other resources"
 msgid "Other versions"
@@ -419,8 +419,8 @@ msgid "See also"
 msgstr "Siehe auch"
 
 #: catalogue/templates/catalogue/book_detail.html:41
-#: catalogue/templates/catalogue/book_text.html:38
-#: catalogue/templates/catalogue/book_text.html:57
+#: catalogue/templates/catalogue/book_text.html:47
+#: catalogue/templates/catalogue/book_text.html:66
 #: catalogue/templates/catalogue/tagged_object_list.html:20
 msgid "Themes"
 msgstr "Motive"
@@ -605,42 +605,46 @@ msgstr ""
 msgid "For now this work is only available for our subscribers."
 msgstr ""
 
-#: catalogue/templates/catalogue/book_text.html:32
+#: catalogue/templates/catalogue/book_text.html:41
 msgid "Table of contents"
 msgstr "Inhaltsverzeichnis"
 
-#: catalogue/templates/catalogue/book_text.html:44
+#: catalogue/templates/catalogue/book_text.html:53
 msgid "Edit. note"
 msgstr "Editieren. Notiz"
 
-#: catalogue/templates/catalogue/book_text.html:50
+#: catalogue/templates/catalogue/book_text.html:59
 msgid "Infobox"
 msgstr "Infobox"
 
-#: catalogue/templates/catalogue/book_text.html:55
+#: catalogue/templates/catalogue/book_text.html:64
 msgid "Numbering"
 msgstr ""
 
-#: catalogue/templates/catalogue/book_text.html:59
+#: catalogue/templates/catalogue/book_text.html:68
 #, fuzzy
 #| msgid "Don't show footnotes"
 msgid "Footnotes"
 msgstr "Zeige die Fußnoten nicht"
 
-#: catalogue/templates/catalogue/book_text.html:82
+#: catalogue/templates/catalogue/book_text.html:70
+msgid "References"
+msgstr ""
+
+#: catalogue/templates/catalogue/book_text.html:93
 #: catalogue/templates/catalogue/viewer_base.html:54
 msgid "Close"
 msgstr ""
 
-#: catalogue/templates/catalogue/book_text.html:83
+#: catalogue/templates/catalogue/book_text.html:94
 msgid "Please wait..."
 msgstr ""
 
-#: catalogue/templates/catalogue/book_text.html:127
+#: catalogue/templates/catalogue/book_text.html:149
 msgid "Other versions of the book"
 msgstr ""
 
-#: catalogue/templates/catalogue/book_text.html:128
+#: catalogue/templates/catalogue/book_text.html:150
 msgid "Close the other version"
 msgstr ""
 
index aaf1387..932a6df 100644 (file)
@@ -280,11 +280,11 @@ msgstr "Book with stub = \"%s\" does not exist."
 msgid "Book %s already exists"
 msgstr "Book %s already exists"
 
-#: catalogue/models/book.py:813
+#: catalogue/models/book.py:853
 msgid "This work needs modernisation"
 msgstr ""
 
-#: catalogue/models/book.py:892 catalogue/models/bookmedia.py:27
+#: catalogue/models/book.py:932 catalogue/models/bookmedia.py:27
 #, python-format
 msgid "%s file"
 msgstr "%s file"
@@ -407,7 +407,7 @@ msgid "tags"
 msgstr "tags"
 
 #: catalogue/templates/catalogue/book_detail.html:24
-#: catalogue/templates/catalogue/book_text.html:25
+#: catalogue/templates/catalogue/book_text.html:34
 #, fuzzy
 #| msgid "Other resources"
 msgid "Other versions"
@@ -418,8 +418,8 @@ msgid "See also"
 msgstr "See also"
 
 #: catalogue/templates/catalogue/book_detail.html:41
-#: catalogue/templates/catalogue/book_text.html:38
-#: catalogue/templates/catalogue/book_text.html:57
+#: catalogue/templates/catalogue/book_text.html:47
+#: catalogue/templates/catalogue/book_text.html:66
 #: catalogue/templates/catalogue/tagged_object_list.html:20
 msgid "Themes"
 msgstr "Themes"
@@ -607,42 +607,46 @@ msgstr ""
 msgid "For now this work is only available for our subscribers."
 msgstr ""
 
-#: catalogue/templates/catalogue/book_text.html:32
+#: catalogue/templates/catalogue/book_text.html:41
 msgid "Table of contents"
 msgstr "Table of contents"
 
-#: catalogue/templates/catalogue/book_text.html:44
+#: catalogue/templates/catalogue/book_text.html:53
 msgid "Edit. note"
 msgstr "Edit. note"
 
-#: catalogue/templates/catalogue/book_text.html:50
+#: catalogue/templates/catalogue/book_text.html:59
 msgid "Infobox"
 msgstr "Infobox"
 
-#: catalogue/templates/catalogue/book_text.html:55
+#: catalogue/templates/catalogue/book_text.html:64
 msgid "Numbering"
 msgstr ""
 
-#: catalogue/templates/catalogue/book_text.html:59
+#: catalogue/templates/catalogue/book_text.html:68
 #, fuzzy
 #| msgid "Don't show footnotes"
 msgid "Footnotes"
 msgstr "Don't show footnotes"
 
-#: catalogue/templates/catalogue/book_text.html:82
+#: catalogue/templates/catalogue/book_text.html:70
+msgid "References"
+msgstr ""
+
+#: catalogue/templates/catalogue/book_text.html:93
 #: catalogue/templates/catalogue/viewer_base.html:54
 msgid "Close"
 msgstr ""
 
-#: catalogue/templates/catalogue/book_text.html:83
+#: catalogue/templates/catalogue/book_text.html:94
 msgid "Please wait..."
 msgstr ""
 
-#: catalogue/templates/catalogue/book_text.html:127
+#: catalogue/templates/catalogue/book_text.html:149
 msgid "Other versions of the book"
 msgstr ""
 
-#: catalogue/templates/catalogue/book_text.html:128
+#: catalogue/templates/catalogue/book_text.html:150
 msgid "Close the other version"
 msgstr ""
 
index c04d892..4711860 100644 (file)
@@ -280,11 +280,11 @@ msgstr "Libro con slug = \"%s\" no existe."
 msgid "Book %s already exists"
 msgstr "Libro %s ya existe"
 
-#: catalogue/models/book.py:813
+#: catalogue/models/book.py:853
 msgid "This work needs modernisation"
 msgstr ""
 
-#: catalogue/models/book.py:892 catalogue/models/bookmedia.py:27
+#: catalogue/models/book.py:932 catalogue/models/bookmedia.py:27
 #, python-format
 msgid "%s file"
 msgstr "%s archivo"
@@ -408,7 +408,7 @@ msgid "tags"
 msgstr "tags"
 
 #: catalogue/templates/catalogue/book_detail.html:24
-#: catalogue/templates/catalogue/book_text.html:25
+#: catalogue/templates/catalogue/book_text.html:34
 #, fuzzy
 #| msgid "Other resources"
 msgid "Other versions"
@@ -419,8 +419,8 @@ msgid "See also"
 msgstr "Véase también"
 
 #: catalogue/templates/catalogue/book_detail.html:41
-#: catalogue/templates/catalogue/book_text.html:38
-#: catalogue/templates/catalogue/book_text.html:57
+#: catalogue/templates/catalogue/book_text.html:47
+#: catalogue/templates/catalogue/book_text.html:66
 #: catalogue/templates/catalogue/tagged_object_list.html:20
 msgid "Themes"
 msgstr "Temas"
@@ -612,43 +612,47 @@ msgstr ""
 msgid "For now this work is only available for our subscribers."
 msgstr ""
 
-#: catalogue/templates/catalogue/book_text.html:32
+#: catalogue/templates/catalogue/book_text.html:41
 msgid "Table of contents"
 msgstr "Tabla de contenido"
 
 # ! także: N.de la R.
-#: catalogue/templates/catalogue/book_text.html:44
+#: catalogue/templates/catalogue/book_text.html:53
 msgid "Edit. note"
 msgstr "Nota de la redacción"
 
-#: catalogue/templates/catalogue/book_text.html:50
+#: catalogue/templates/catalogue/book_text.html:59
 msgid "Infobox"
 msgstr "Infobox"
 
-#: catalogue/templates/catalogue/book_text.html:55
+#: catalogue/templates/catalogue/book_text.html:64
 msgid "Numbering"
 msgstr ""
 
-#: catalogue/templates/catalogue/book_text.html:59
+#: catalogue/templates/catalogue/book_text.html:68
 #, fuzzy
 #| msgid "Don't show footnotes"
 msgid "Footnotes"
 msgstr "No mostres notas a pie de página"
 
-#: catalogue/templates/catalogue/book_text.html:82
+#: catalogue/templates/catalogue/book_text.html:70
+msgid "References"
+msgstr ""
+
+#: catalogue/templates/catalogue/book_text.html:93
 #: catalogue/templates/catalogue/viewer_base.html:54
 msgid "Close"
 msgstr ""
 
-#: catalogue/templates/catalogue/book_text.html:83
+#: catalogue/templates/catalogue/book_text.html:94
 msgid "Please wait..."
 msgstr ""
 
-#: catalogue/templates/catalogue/book_text.html:127
+#: catalogue/templates/catalogue/book_text.html:149
 msgid "Other versions of the book"
 msgstr ""
 
-#: catalogue/templates/catalogue/book_text.html:128
+#: catalogue/templates/catalogue/book_text.html:150
 msgid "Close the other version"
 msgstr ""
 
index 56b36cd..f7fe633 100644 (file)
@@ -279,11 +279,11 @@ msgstr "Livre \"%s\" n'existe pas."
 msgid "Book %s already exists"
 msgstr "Livre %s existe déjà"
 
-#: catalogue/models/book.py:813
+#: catalogue/models/book.py:853
 msgid "This work needs modernisation"
 msgstr ""
 
-#: catalogue/models/book.py:892 catalogue/models/bookmedia.py:27
+#: catalogue/models/book.py:932 catalogue/models/bookmedia.py:27
 #, python-format
 msgid "%s file"
 msgstr "fichier %s"
@@ -407,7 +407,7 @@ msgid "tags"
 msgstr "tags"
 
 #: catalogue/templates/catalogue/book_detail.html:24
-#: catalogue/templates/catalogue/book_text.html:25
+#: catalogue/templates/catalogue/book_text.html:34
 #, fuzzy
 #| msgid "Other resources"
 msgid "Other versions"
@@ -418,8 +418,8 @@ msgid "See also"
 msgstr "Voir aussi"
 
 #: catalogue/templates/catalogue/book_detail.html:41
-#: catalogue/templates/catalogue/book_text.html:38
-#: catalogue/templates/catalogue/book_text.html:57
+#: catalogue/templates/catalogue/book_text.html:47
+#: catalogue/templates/catalogue/book_text.html:66
 #: catalogue/templates/catalogue/tagged_object_list.html:20
 msgid "Themes"
 msgstr "Thèmes"
@@ -606,42 +606,46 @@ msgstr ""
 msgid "For now this work is only available for our subscribers."
 msgstr ""
 
-#: catalogue/templates/catalogue/book_text.html:32
+#: catalogue/templates/catalogue/book_text.html:41
 msgid "Table of contents"
 msgstr "Table des matières"
 
-#: catalogue/templates/catalogue/book_text.html:44
+#: catalogue/templates/catalogue/book_text.html:53
 msgid "Edit. note"
 msgstr "Note d'éditeur"
 
-#: catalogue/templates/catalogue/book_text.html:50
+#: catalogue/templates/catalogue/book_text.html:59
 msgid "Infobox"
 msgstr "Infobox"
 
-#: catalogue/templates/catalogue/book_text.html:55
+#: catalogue/templates/catalogue/book_text.html:64
 msgid "Numbering"
 msgstr ""
 
-#: catalogue/templates/catalogue/book_text.html:59
+#: catalogue/templates/catalogue/book_text.html:68
 #, fuzzy
 #| msgid "Don't show footnotes"
 msgid "Footnotes"
 msgstr "Ne montre pas d'annotations"
 
-#: catalogue/templates/catalogue/book_text.html:82
+#: catalogue/templates/catalogue/book_text.html:70
+msgid "References"
+msgstr ""
+
+#: catalogue/templates/catalogue/book_text.html:93
 #: catalogue/templates/catalogue/viewer_base.html:54
 msgid "Close"
 msgstr ""
 
-#: catalogue/templates/catalogue/book_text.html:83
+#: catalogue/templates/catalogue/book_text.html:94
 msgid "Please wait..."
 msgstr ""
 
-#: catalogue/templates/catalogue/book_text.html:127
+#: catalogue/templates/catalogue/book_text.html:149
 msgid "Other versions of the book"
 msgstr ""
 
-#: catalogue/templates/catalogue/book_text.html:128
+#: catalogue/templates/catalogue/book_text.html:150
 msgid "Close the other version"
 msgstr ""
 
index f0e2c6c..c3af4c2 100644 (file)
@@ -280,11 +280,11 @@ msgstr "Il libro \"%s\" non esiste."
 msgid "Book %s already exists"
 msgstr "Il libro %s esiste già"
 
-#: catalogue/models/book.py:813
+#: catalogue/models/book.py:853
 msgid "This work needs modernisation"
 msgstr ""
 
-#: catalogue/models/book.py:892 catalogue/models/bookmedia.py:27
+#: catalogue/models/book.py:932 catalogue/models/bookmedia.py:27
 #, python-format
 msgid "%s file"
 msgstr "i %s di file"
@@ -407,7 +407,7 @@ msgid "tags"
 msgstr "i tag"
 
 #: catalogue/templates/catalogue/book_detail.html:24
-#: catalogue/templates/catalogue/book_text.html:25
+#: catalogue/templates/catalogue/book_text.html:34
 #, fuzzy
 #| msgid "Other resources"
 msgid "Other versions"
@@ -418,8 +418,8 @@ msgid "See also"
 msgstr "Vedi anche"
 
 #: catalogue/templates/catalogue/book_detail.html:41
-#: catalogue/templates/catalogue/book_text.html:38
-#: catalogue/templates/catalogue/book_text.html:57
+#: catalogue/templates/catalogue/book_text.html:47
+#: catalogue/templates/catalogue/book_text.html:66
 #: catalogue/templates/catalogue/tagged_object_list.html:20
 msgid "Themes"
 msgstr "Temi"
@@ -609,42 +609,46 @@ msgstr ""
 msgid "For now this work is only available for our subscribers."
 msgstr ""
 
-#: catalogue/templates/catalogue/book_text.html:32
+#: catalogue/templates/catalogue/book_text.html:41
 msgid "Table of contents"
 msgstr "Indice"
 
-#: catalogue/templates/catalogue/book_text.html:44
+#: catalogue/templates/catalogue/book_text.html:53
 msgid "Edit. note"
 msgstr "Modifica. nota"
 
-#: catalogue/templates/catalogue/book_text.html:50
+#: catalogue/templates/catalogue/book_text.html:59
 msgid "Infobox"
 msgstr "Infobox"
 
-#: catalogue/templates/catalogue/book_text.html:55
+#: catalogue/templates/catalogue/book_text.html:64
 msgid "Numbering"
 msgstr ""
 
-#: catalogue/templates/catalogue/book_text.html:59
+#: catalogue/templates/catalogue/book_text.html:68
 #, fuzzy
 #| msgid "Don't show footnotes"
 msgid "Footnotes"
 msgstr "Non mostrare le note"
 
-#: catalogue/templates/catalogue/book_text.html:82
+#: catalogue/templates/catalogue/book_text.html:70
+msgid "References"
+msgstr ""
+
+#: catalogue/templates/catalogue/book_text.html:93
 #: catalogue/templates/catalogue/viewer_base.html:54
 msgid "Close"
 msgstr ""
 
-#: catalogue/templates/catalogue/book_text.html:83
+#: catalogue/templates/catalogue/book_text.html:94
 msgid "Please wait..."
 msgstr ""
 
-#: catalogue/templates/catalogue/book_text.html:127
+#: catalogue/templates/catalogue/book_text.html:149
 msgid "Other versions of the book"
 msgstr ""
 
-#: catalogue/templates/catalogue/book_text.html:128
+#: catalogue/templates/catalogue/book_text.html:150
 msgid "Close the other version"
 msgstr ""
 
index 9554410..1019650 100644 (file)
@@ -281,11 +281,11 @@ msgstr "Knyga \"%s\" neegzistuoja."
 msgid "Book %s already exists"
 msgstr "Knyga %s jau egzistuoja"
 
-#: catalogue/models/book.py:813
+#: catalogue/models/book.py:853
 msgid "This work needs modernisation"
 msgstr ""
 
-#: catalogue/models/book.py:892 catalogue/models/bookmedia.py:27
+#: catalogue/models/book.py:932 catalogue/models/bookmedia.py:27
 #, python-format
 msgid "%s file"
 msgstr "%s failas "
@@ -408,7 +408,7 @@ msgid "tags"
 msgstr "žymės"
 
 #: catalogue/templates/catalogue/book_detail.html:24
-#: catalogue/templates/catalogue/book_text.html:25
+#: catalogue/templates/catalogue/book_text.html:34
 #, fuzzy
 #| msgid "Other resources"
 msgid "Other versions"
@@ -419,8 +419,8 @@ msgid "See also"
 msgstr "Žiūrėti daugiau"
 
 #: catalogue/templates/catalogue/book_detail.html:41
-#: catalogue/templates/catalogue/book_text.html:38
-#: catalogue/templates/catalogue/book_text.html:57
+#: catalogue/templates/catalogue/book_text.html:47
+#: catalogue/templates/catalogue/book_text.html:66
 #: catalogue/templates/catalogue/tagged_object_list.html:20
 msgid "Themes"
 msgstr "Motyvai"
@@ -609,42 +609,46 @@ msgstr ""
 msgid "For now this work is only available for our subscribers."
 msgstr ""
 
-#: catalogue/templates/catalogue/book_text.html:32
+#: catalogue/templates/catalogue/book_text.html:41
 msgid "Table of contents"
 msgstr "Turinys"
 
-#: catalogue/templates/catalogue/book_text.html:44
+#: catalogue/templates/catalogue/book_text.html:53
 msgid "Edit. note"
 msgstr "Redaguoti pastabą"
 
-#: catalogue/templates/catalogue/book_text.html:50
+#: catalogue/templates/catalogue/book_text.html:59
 msgid "Infobox"
 msgstr "Infobox"
 
-#: catalogue/templates/catalogue/book_text.html:55
+#: catalogue/templates/catalogue/book_text.html:64
 msgid "Numbering"
 msgstr ""
 
-#: catalogue/templates/catalogue/book_text.html:59
+#: catalogue/templates/catalogue/book_text.html:68
 #, fuzzy
 #| msgid "Don't show footnotes"
 msgid "Footnotes"
 msgstr "Nerodyti išnašų"
 
-#: catalogue/templates/catalogue/book_text.html:82
+#: catalogue/templates/catalogue/book_text.html:70
+msgid "References"
+msgstr ""
+
+#: catalogue/templates/catalogue/book_text.html:93
 #: catalogue/templates/catalogue/viewer_base.html:54
 msgid "Close"
 msgstr ""
 
-#: catalogue/templates/catalogue/book_text.html:83
+#: catalogue/templates/catalogue/book_text.html:94
 msgid "Please wait..."
 msgstr ""
 
-#: catalogue/templates/catalogue/book_text.html:127
+#: catalogue/templates/catalogue/book_text.html:149
 msgid "Other versions of the book"
 msgstr ""
 
-#: catalogue/templates/catalogue/book_text.html:128
+#: catalogue/templates/catalogue/book_text.html:150
 msgid "Close the other version"
 msgstr ""
 
index 92a4060..5a2238b 100644 (file)
@@ -280,11 +280,11 @@ msgstr "Книга со slug = \"%s\"  не существует."
 msgid "Book %s already exists"
 msgstr "Книга %s уже существует"
 
-#: catalogue/models/book.py:813
+#: catalogue/models/book.py:853
 msgid "This work needs modernisation"
 msgstr ""
 
-#: catalogue/models/book.py:892 catalogue/models/bookmedia.py:27
+#: catalogue/models/book.py:932 catalogue/models/bookmedia.py:27
 #, fuzzy, python-format
 msgid "%s file"
 msgstr "XML файл"
@@ -409,7 +409,7 @@ msgid "tags"
 msgstr "таги"
 
 #: catalogue/templates/catalogue/book_detail.html:24
-#: catalogue/templates/catalogue/book_text.html:25
+#: catalogue/templates/catalogue/book_text.html:34
 #, fuzzy
 #| msgid "Other resources"
 msgid "Other versions"
@@ -420,8 +420,8 @@ msgid "See also"
 msgstr "Подробнее"
 
 #: catalogue/templates/catalogue/book_detail.html:41
-#: catalogue/templates/catalogue/book_text.html:38
-#: catalogue/templates/catalogue/book_text.html:57
+#: catalogue/templates/catalogue/book_text.html:47
+#: catalogue/templates/catalogue/book_text.html:66
 #: catalogue/templates/catalogue/tagged_object_list.html:20
 msgid "Themes"
 msgstr "Мотивы"
@@ -611,42 +611,46 @@ msgstr ""
 msgid "For now this work is only available for our subscribers."
 msgstr ""
 
-#: catalogue/templates/catalogue/book_text.html:32
+#: catalogue/templates/catalogue/book_text.html:41
 msgid "Table of contents"
 msgstr "Оглавление"
 
-#: catalogue/templates/catalogue/book_text.html:44
+#: catalogue/templates/catalogue/book_text.html:53
 msgid "Edit. note"
 msgstr "Изменить примечание"
 
-#: catalogue/templates/catalogue/book_text.html:50
+#: catalogue/templates/catalogue/book_text.html:59
 msgid "Infobox"
 msgstr "Инфобокс"
 
-#: catalogue/templates/catalogue/book_text.html:55
+#: catalogue/templates/catalogue/book_text.html:64
 msgid "Numbering"
 msgstr ""
 
-#: catalogue/templates/catalogue/book_text.html:59
+#: catalogue/templates/catalogue/book_text.html:68
 #, fuzzy
 #| msgid "Don't show footnotes"
 msgid "Footnotes"
 msgstr "Не показывать сноски"
 
-#: catalogue/templates/catalogue/book_text.html:82
+#: catalogue/templates/catalogue/book_text.html:70
+msgid "References"
+msgstr ""
+
+#: catalogue/templates/catalogue/book_text.html:93
 #: catalogue/templates/catalogue/viewer_base.html:54
 msgid "Close"
 msgstr ""
 
-#: catalogue/templates/catalogue/book_text.html:83
+#: catalogue/templates/catalogue/book_text.html:94
 msgid "Please wait..."
 msgstr ""
 
-#: catalogue/templates/catalogue/book_text.html:127
+#: catalogue/templates/catalogue/book_text.html:149
 msgid "Other versions of the book"
 msgstr ""
 
-#: catalogue/templates/catalogue/book_text.html:128
+#: catalogue/templates/catalogue/book_text.html:150
 msgid "Close the other version"
 msgstr ""
 
index 1aca219..d378777 100644 (file)
@@ -279,11 +279,11 @@ msgstr "Книжка \"%s\" не існує."
 msgid "Book %s already exists"
 msgstr "Книжка %s вже існує"
 
-#: catalogue/models/book.py:813
+#: catalogue/models/book.py:853
 msgid "This work needs modernisation"
 msgstr ""
 
-#: catalogue/models/book.py:892 catalogue/models/bookmedia.py:27
+#: catalogue/models/book.py:932 catalogue/models/bookmedia.py:27
 #, python-format
 msgid "%s file"
 msgstr "файл %s"
@@ -406,7 +406,7 @@ msgid "tags"
 msgstr "теґи"
 
 #: catalogue/templates/catalogue/book_detail.html:24
-#: catalogue/templates/catalogue/book_text.html:25
+#: catalogue/templates/catalogue/book_text.html:34
 #, fuzzy
 #| msgid "Other resources"
 msgid "Other versions"
@@ -417,8 +417,8 @@ msgid "See also"
 msgstr "Дивіться також"
 
 #: catalogue/templates/catalogue/book_detail.html:41
-#: catalogue/templates/catalogue/book_text.html:38
-#: catalogue/templates/catalogue/book_text.html:57
+#: catalogue/templates/catalogue/book_text.html:47
+#: catalogue/templates/catalogue/book_text.html:66
 #: catalogue/templates/catalogue/tagged_object_list.html:20
 msgid "Themes"
 msgstr "Теми"
@@ -608,42 +608,46 @@ msgstr ""
 msgid "For now this work is only available for our subscribers."
 msgstr ""
 
-#: catalogue/templates/catalogue/book_text.html:32
+#: catalogue/templates/catalogue/book_text.html:41
 msgid "Table of contents"
 msgstr "Зміст"
 
-#: catalogue/templates/catalogue/book_text.html:44
+#: catalogue/templates/catalogue/book_text.html:53
 msgid "Edit. note"
 msgstr "Редакторський коментар"
 
-#: catalogue/templates/catalogue/book_text.html:50
+#: catalogue/templates/catalogue/book_text.html:59
 msgid "Infobox"
 msgstr "Інфобокс"
 
-#: catalogue/templates/catalogue/book_text.html:55
+#: catalogue/templates/catalogue/book_text.html:64
 msgid "Numbering"
 msgstr ""
 
-#: catalogue/templates/catalogue/book_text.html:59
+#: catalogue/templates/catalogue/book_text.html:68
 #, fuzzy
 #| msgid "Don't show footnotes"
 msgid "Footnotes"
 msgstr "Сховати примітки"
 
-#: catalogue/templates/catalogue/book_text.html:82
+#: catalogue/templates/catalogue/book_text.html:70
+msgid "References"
+msgstr ""
+
+#: catalogue/templates/catalogue/book_text.html:93
 #: catalogue/templates/catalogue/viewer_base.html:54
 msgid "Close"
 msgstr ""
 
-#: catalogue/templates/catalogue/book_text.html:83
+#: catalogue/templates/catalogue/book_text.html:94
 msgid "Please wait..."
 msgstr ""
 
-#: catalogue/templates/catalogue/book_text.html:127
+#: catalogue/templates/catalogue/book_text.html:149
 msgid "Other versions of the book"
 msgstr ""
 
-#: catalogue/templates/catalogue/book_text.html:128
+#: catalogue/templates/catalogue/book_text.html:150
 msgid "Close the other version"
 msgstr ""
 
index 2c56a73..0cf7d34 100644 (file)
@@ -79,9 +79,11 @@ class ScheduleInline(admin.TabularInline):
 
 
 class MembershipAdmin(admin.ModelAdmin):
-    list_display = ['user']
+    list_display = ['user', 'manual', 'updated_at', 'notes']
+    list_filter = ['manual']
+    date_hierarchy = 'updated_at'
     raw_id_fields = ['user']
-    search_fields = ['user__username', 'user__email', 'schedule__email']
+    search_fields = ['user__username', 'user__email', 'schedule__email', 'notes']
     inlines = [ScheduleInline]
 
 admin.site.register(models.Membership, MembershipAdmin)
index 78a9649..ae1bb3d 100644 (file)
@@ -74,7 +74,7 @@ msgstr ""
 msgid "email"
 msgstr ""
 
-#: club/models.py:50 club/models.py:139
+#: club/models.py:50 club/models.py:141
 msgid "membership"
 msgstr ""
 
@@ -122,65 +122,77 @@ msgstr ""
 msgid "created at"
 msgstr ""
 
-#: club/models.py:140
+#: club/models.py:135 club/models.py:196
+msgid "name"
+msgstr ""
+
+#: club/models.py:136
+msgid "manual"
+msgstr ""
+
+#: club/models.py:137
+msgid "notes"
+msgstr ""
+
+#: club/models.py:138
+msgid "updated at"
+msgstr ""
+
+#: club/models.py:142
 msgid "memberships"
 msgstr ""
 
-#: club/models.py:162
+#: club/models.py:179
 msgid "days before"
 msgstr ""
 
-#: club/models.py:163
+#: club/models.py:180
 msgid "subject"
 msgstr ""
 
-#: club/models.py:164 club/payu/models.py:140
+#: club/models.py:181 club/payu/models.py:140
 msgid "body"
 msgstr ""
 
-#: club/models.py:167
+#: club/models.py:184
 msgid "reminder email"
 msgstr ""
 
-#: club/models.py:168
+#: club/models.py:185
 msgid "reminder emails"
 msgstr ""
 
-#: club/models.py:173
+#: club/models.py:190
 #, python-format
 msgid "a day before expiration"
 msgid_plural "%d days before expiration"
 msgstr[0] ""
 msgstr[1] ""
 
-#: club/models.py:175
+#: club/models.py:192
 #, python-format
 msgid "a day after expiration"
 msgid_plural "%d days after expiration"
 msgstr[0] ""
 msgstr[1] ""
 
-#: club/models.py:179
-msgid "name"
-msgstr ""
-
-#: club/models.py:180
+#: club/models.py:197
 msgid "photo"
 msgstr ""
 
-#: club/models.py:181
+#: club/models.py:198
 msgid "text"
 msgstr ""
 
-#: club/models.py:184
+#: club/models.py:201
 msgid "ambassador"
 msgstr ""
 
-#: club/models.py:185
+#: club/models.py:202
 msgid "ambassadors"
 msgstr ""
 
-#: club/models.py:216 club/templates/club/index.html:7
+#: club/models.py:233 club/templates/club/index.html:7
 #: club/templates/club/index.html:13 club/templates/club/thanks.html:6
 #: club/templates/payu/rec_payment.html:5
 msgid "Towarzystwo Przyjaciół Wolnych Lektur"
index 78a9649..ae1bb3d 100644 (file)
@@ -74,7 +74,7 @@ msgstr ""
 msgid "email"
 msgstr ""
 
-#: club/models.py:50 club/models.py:139
+#: club/models.py:50 club/models.py:141
 msgid "membership"
 msgstr ""
 
@@ -122,65 +122,77 @@ msgstr ""
 msgid "created at"
 msgstr ""
 
-#: club/models.py:140
+#: club/models.py:135 club/models.py:196
+msgid "name"
+msgstr ""
+
+#: club/models.py:136
+msgid "manual"
+msgstr ""
+
+#: club/models.py:137
+msgid "notes"
+msgstr ""
+
+#: club/models.py:138
+msgid "updated at"
+msgstr ""
+
+#: club/models.py:142
 msgid "memberships"
 msgstr ""
 
-#: club/models.py:162
+#: club/models.py:179
 msgid "days before"
 msgstr ""
 
-#: club/models.py:163
+#: club/models.py:180
 msgid "subject"
 msgstr ""
 
-#: club/models.py:164 club/payu/models.py:140
+#: club/models.py:181 club/payu/models.py:140
 msgid "body"
 msgstr ""
 
-#: club/models.py:167
+#: club/models.py:184
 msgid "reminder email"
 msgstr ""
 
-#: club/models.py:168
+#: club/models.py:185
 msgid "reminder emails"
 msgstr ""
 
-#: club/models.py:173
+#: club/models.py:190
 #, python-format
 msgid "a day before expiration"
 msgid_plural "%d days before expiration"
 msgstr[0] ""
 msgstr[1] ""
 
-#: club/models.py:175
+#: club/models.py:192
 #, python-format
 msgid "a day after expiration"
 msgid_plural "%d days after expiration"
 msgstr[0] ""
 msgstr[1] ""
 
-#: club/models.py:179
-msgid "name"
-msgstr ""
-
-#: club/models.py:180
+#: club/models.py:197
 msgid "photo"
 msgstr ""
 
-#: club/models.py:181
+#: club/models.py:198
 msgid "text"
 msgstr ""
 
-#: club/models.py:184
+#: club/models.py:201
 msgid "ambassador"
 msgstr ""
 
-#: club/models.py:185
+#: club/models.py:202
 msgid "ambassadors"
 msgstr ""
 
-#: club/models.py:216 club/templates/club/index.html:7
+#: club/models.py:233 club/templates/club/index.html:7
 #: club/templates/club/index.html:13 club/templates/club/thanks.html:6
 #: club/templates/payu/rec_payment.html:5
 msgid "Towarzystwo Przyjaciół Wolnych Lektur"
index 78a9649..ae1bb3d 100644 (file)
@@ -74,7 +74,7 @@ msgstr ""
 msgid "email"
 msgstr ""
 
-#: club/models.py:50 club/models.py:139
+#: club/models.py:50 club/models.py:141
 msgid "membership"
 msgstr ""
 
@@ -122,65 +122,77 @@ msgstr ""
 msgid "created at"
 msgstr ""
 
-#: club/models.py:140
+#: club/models.py:135 club/models.py:196
+msgid "name"
+msgstr ""
+
+#: club/models.py:136
+msgid "manual"
+msgstr ""
+
+#: club/models.py:137
+msgid "notes"
+msgstr ""
+
+#: club/models.py:138
+msgid "updated at"
+msgstr ""
+
+#: club/models.py:142
 msgid "memberships"
 msgstr ""
 
-#: club/models.py:162
+#: club/models.py:179
 msgid "days before"
 msgstr ""
 
-#: club/models.py:163
+#: club/models.py:180
 msgid "subject"
 msgstr ""
 
-#: club/models.py:164 club/payu/models.py:140
+#: club/models.py:181 club/payu/models.py:140
 msgid "body"
 msgstr ""
 
-#: club/models.py:167
+#: club/models.py:184
 msgid "reminder email"
 msgstr ""
 
-#: club/models.py:168
+#: club/models.py:185
 msgid "reminder emails"
 msgstr ""
 
-#: club/models.py:173
+#: club/models.py:190
 #, python-format
 msgid "a day before expiration"
 msgid_plural "%d days before expiration"
 msgstr[0] ""
 msgstr[1] ""
 
-#: club/models.py:175
+#: club/models.py:192
 #, python-format
 msgid "a day after expiration"
 msgid_plural "%d days after expiration"
 msgstr[0] ""
 msgstr[1] ""
 
-#: club/models.py:179
-msgid "name"
-msgstr ""
-
-#: club/models.py:180
+#: club/models.py:197
 msgid "photo"
 msgstr ""
 
-#: club/models.py:181
+#: club/models.py:198
 msgid "text"
 msgstr ""
 
-#: club/models.py:184
+#: club/models.py:201
 msgid "ambassador"
 msgstr ""
 
-#: club/models.py:185
+#: club/models.py:202
 msgid "ambassadors"
 msgstr ""
 
-#: club/models.py:216 club/templates/club/index.html:7
+#: club/models.py:233 club/templates/club/index.html:7
 #: club/templates/club/index.html:13 club/templates/club/thanks.html:6
 #: club/templates/payu/rec_payment.html:5
 msgid "Towarzystwo Przyjaciół Wolnych Lektur"
index 0693f08..b6540a7 100644 (file)
@@ -74,7 +74,7 @@ msgstr ""
 msgid "email"
 msgstr ""
 
-#: club/models.py:50 club/models.py:139
+#: club/models.py:50 club/models.py:141
 msgid "membership"
 msgstr ""
 
@@ -122,65 +122,77 @@ msgstr ""
 msgid "created at"
 msgstr ""
 
-#: club/models.py:140
+#: club/models.py:135 club/models.py:196
+msgid "name"
+msgstr ""
+
+#: club/models.py:136
+msgid "manual"
+msgstr ""
+
+#: club/models.py:137
+msgid "notes"
+msgstr ""
+
+#: club/models.py:138
+msgid "updated at"
+msgstr ""
+
+#: club/models.py:142
 msgid "memberships"
 msgstr ""
 
-#: club/models.py:162
+#: club/models.py:179
 msgid "days before"
 msgstr ""
 
-#: club/models.py:163
+#: club/models.py:180
 msgid "subject"
 msgstr ""
 
-#: club/models.py:164 club/payu/models.py:140
+#: club/models.py:181 club/payu/models.py:140
 msgid "body"
 msgstr ""
 
-#: club/models.py:167
+#: club/models.py:184
 msgid "reminder email"
 msgstr ""
 
-#: club/models.py:168
+#: club/models.py:185
 msgid "reminder emails"
 msgstr ""
 
-#: club/models.py:173
+#: club/models.py:190
 #, python-format
 msgid "a day before expiration"
 msgid_plural "%d days before expiration"
 msgstr[0] ""
 msgstr[1] ""
 
-#: club/models.py:175
+#: club/models.py:192
 #, python-format
 msgid "a day after expiration"
 msgid_plural "%d days after expiration"
 msgstr[0] ""
 msgstr[1] ""
 
-#: club/models.py:179
-msgid "name"
-msgstr ""
-
-#: club/models.py:180
+#: club/models.py:197
 msgid "photo"
 msgstr ""
 
-#: club/models.py:181
+#: club/models.py:198
 msgid "text"
 msgstr ""
 
-#: club/models.py:184
+#: club/models.py:201
 msgid "ambassador"
 msgstr ""
 
-#: club/models.py:185
+#: club/models.py:202
 msgid "ambassadors"
 msgstr ""
 
-#: club/models.py:216 club/templates/club/index.html:7
+#: club/models.py:233 club/templates/club/index.html:7
 #: club/templates/club/index.html:13 club/templates/club/thanks.html:6
 #: club/templates/payu/rec_payment.html:5
 msgid "Towarzystwo Przyjaciół Wolnych Lektur"
index 78a9649..ae1bb3d 100644 (file)
@@ -74,7 +74,7 @@ msgstr ""
 msgid "email"
 msgstr ""
 
-#: club/models.py:50 club/models.py:139
+#: club/models.py:50 club/models.py:141
 msgid "membership"
 msgstr ""
 
@@ -122,65 +122,77 @@ msgstr ""
 msgid "created at"
 msgstr ""
 
-#: club/models.py:140
+#: club/models.py:135 club/models.py:196
+msgid "name"
+msgstr ""
+
+#: club/models.py:136
+msgid "manual"
+msgstr ""
+
+#: club/models.py:137
+msgid "notes"
+msgstr ""
+
+#: club/models.py:138
+msgid "updated at"
+msgstr ""
+
+#: club/models.py:142
 msgid "memberships"
 msgstr ""
 
-#: club/models.py:162
+#: club/models.py:179
 msgid "days before"
 msgstr ""
 
-#: club/models.py:163
+#: club/models.py:180
 msgid "subject"
 msgstr ""
 
-#: club/models.py:164 club/payu/models.py:140
+#: club/models.py:181 club/payu/models.py:140
 msgid "body"
 msgstr ""
 
-#: club/models.py:167
+#: club/models.py:184
 msgid "reminder email"
 msgstr ""
 
-#: club/models.py:168
+#: club/models.py:185
 msgid "reminder emails"
 msgstr ""
 
-#: club/models.py:173
+#: club/models.py:190
 #, python-format
 msgid "a day before expiration"
 msgid_plural "%d days before expiration"
 msgstr[0] ""
 msgstr[1] ""
 
-#: club/models.py:175
+#: club/models.py:192
 #, python-format
 msgid "a day after expiration"
 msgid_plural "%d days after expiration"
 msgstr[0] ""
 msgstr[1] ""
 
-#: club/models.py:179
-msgid "name"
-msgstr ""
-
-#: club/models.py:180
+#: club/models.py:197
 msgid "photo"
 msgstr ""
 
-#: club/models.py:181
+#: club/models.py:198
 msgid "text"
 msgstr ""
 
-#: club/models.py:184
+#: club/models.py:201
 msgid "ambassador"
 msgstr ""
 
-#: club/models.py:185
+#: club/models.py:202
 msgid "ambassadors"
 msgstr ""
 
-#: club/models.py:216 club/templates/club/index.html:7
+#: club/models.py:233 club/templates/club/index.html:7
 #: club/templates/club/index.html:13 club/templates/club/thanks.html:6
 #: club/templates/payu/rec_payment.html:5
 msgid "Towarzystwo Przyjaciół Wolnych Lektur"
index 5189e42..11618bb 100644 (file)
@@ -76,7 +76,7 @@ msgstr ""
 msgid "email"
 msgstr ""
 
-#: club/models.py:50 club/models.py:139
+#: club/models.py:50 club/models.py:141
 msgid "membership"
 msgstr ""
 
@@ -124,65 +124,77 @@ msgstr ""
 msgid "created at"
 msgstr ""
 
-#: club/models.py:140
+#: club/models.py:135 club/models.py:196
+msgid "name"
+msgstr ""
+
+#: club/models.py:136
+msgid "manual"
+msgstr ""
+
+#: club/models.py:137
+msgid "notes"
+msgstr ""
+
+#: club/models.py:138
+msgid "updated at"
+msgstr ""
+
+#: club/models.py:142
 msgid "memberships"
 msgstr ""
 
-#: club/models.py:162
+#: club/models.py:179
 msgid "days before"
 msgstr ""
 
-#: club/models.py:163
+#: club/models.py:180
 msgid "subject"
 msgstr ""
 
-#: club/models.py:164 club/payu/models.py:140
+#: club/models.py:181 club/payu/models.py:140
 msgid "body"
 msgstr ""
 
-#: club/models.py:167
+#: club/models.py:184
 msgid "reminder email"
 msgstr ""
 
-#: club/models.py:168
+#: club/models.py:185
 msgid "reminder emails"
 msgstr ""
 
-#: club/models.py:173
+#: club/models.py:190
 #, python-format
 msgid "a day before expiration"
 msgid_plural "%d days before expiration"
 msgstr[0] ""
 msgstr[1] ""
 
-#: club/models.py:175
+#: club/models.py:192
 #, python-format
 msgid "a day after expiration"
 msgid_plural "%d days after expiration"
 msgstr[0] ""
 msgstr[1] ""
 
-#: club/models.py:179
-msgid "name"
-msgstr ""
-
-#: club/models.py:180
+#: club/models.py:197
 msgid "photo"
 msgstr ""
 
-#: club/models.py:181
+#: club/models.py:198
 msgid "text"
 msgstr ""
 
-#: club/models.py:184
+#: club/models.py:201
 msgid "ambassador"
 msgstr ""
 
-#: club/models.py:185
+#: club/models.py:202
 msgid "ambassadors"
 msgstr ""
 
-#: club/models.py:216 club/templates/club/index.html:7
+#: club/models.py:233 club/templates/club/index.html:7
 #: club/templates/club/index.html:13 club/templates/club/thanks.html:6
 #: club/templates/payu/rec_payment.html:5
 msgid "Towarzystwo Przyjaciół Wolnych Lektur"
index 5231705..9bce02c 100644 (file)
Binary files a/src/club/locale/pl/LC_MESSAGES/django.mo and b/src/club/locale/pl/LC_MESSAGES/django.mo differ
index 0d72d5b..43a31fb 100644 (file)
@@ -7,7 +7,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: \n"
 "Report-Msgid-Bugs-To: \n"
-"PO-Revision-Date: 2020-09-17 10:37+0200\n"
+"PO-Revision-Date: 2020-11-26 12:47+0100\n"
 "Last-Translator: \n"
 "Language-Team: \n"
 "Language: pl\n"
@@ -76,7 +76,7 @@ msgstr "klucz"
 msgid "email"
 msgstr "email"
 
-#: club/models.py:50 club/models.py:139
+#: club/models.py:50 club/models.py:141
 msgid "membership"
 msgstr "członkostwo"
 
@@ -124,31 +124,47 @@ msgstr "użytkownik"
 msgid "created at"
 msgstr "utworzone"
 
-#: club/models.py:140
+#: club/models.py:135 club/models.py:196
+msgid "name"
+msgstr "nazwisko"
+
+#: club/models.py:136
+msgid "manual"
+msgstr "ustawiony ręcznie"
+
+#: club/models.py:137
+msgid "notes"
+msgstr "notatki"
+
+#: club/models.py:138
+msgid "updated at"
+msgstr "aktualizacja"
+
+#: club/models.py:142
 msgid "memberships"
 msgstr "członkostwa"
 
-#: club/models.py:162
+#: club/models.py:179
 msgid "days before"
 msgstr "dni przed"
 
-#: club/models.py:163
+#: club/models.py:180
 msgid "subject"
 msgstr "temat"
 
-#: club/models.py:164 club/payu/models.py:140
+#: club/models.py:181 club/payu/models.py:140
 msgid "body"
 msgstr "treść"
 
-#: club/models.py:167
+#: club/models.py:184
 msgid "reminder email"
 msgstr "email z przypomnieniem"
 
-#: club/models.py:168
+#: club/models.py:185
 msgid "reminder emails"
 msgstr "emaile z przypomnieniem"
 
-#: club/models.py:173
+#: club/models.py:190
 #, python-format
 msgid "a day before expiration"
 msgid_plural "%d days before expiration"
@@ -157,7 +173,7 @@ msgstr[1] "%d dni przed wygaśnięciem"
 msgstr[2] "%d dni przed wygaśnięciem"
 msgstr[3] "%d dni przed wygaśnięciem"
 
-#: club/models.py:175
+#: club/models.py:192
 #, python-format
 msgid "a day after expiration"
 msgid_plural "%d days after expiration"
@@ -166,27 +182,23 @@ msgstr[1] "%d dni po wygaśnięciu"
 msgstr[2] "%d dni po wygaśnięciu"
 msgstr[3] "%d dni przed wygaśnięciem"
 
-#: club/models.py:179
-msgid "name"
-msgstr "nazwisko"
-
-#: club/models.py:180
+#: club/models.py:197
 msgid "photo"
 msgstr "zdjęcie"
 
-#: club/models.py:181
+#: club/models.py:198
 msgid "text"
 msgstr "tekst"
 
-#: club/models.py:184
+#: club/models.py:201
 msgid "ambassador"
 msgstr "ambasador"
 
-#: club/models.py:185
+#: club/models.py:202
 msgid "ambassadors"
 msgstr "ambasadorowie"
 
-#: club/models.py:216 club/templates/club/index.html:7
+#: club/models.py:233 club/templates/club/index.html:7
 #: club/templates/club/index.html:13 club/templates/club/thanks.html:6
 #: club/templates/payu/rec_payment.html:5
 msgid "Towarzystwo Przyjaciół Wolnych Lektur"
index d6e04cb..bc85ffa 100644 (file)
@@ -76,7 +76,7 @@ msgstr ""
 msgid "email"
 msgstr ""
 
-#: club/models.py:50 club/models.py:139
+#: club/models.py:50 club/models.py:141
 msgid "membership"
 msgstr ""
 
@@ -124,65 +124,77 @@ msgstr ""
 msgid "created at"
 msgstr ""
 
-#: club/models.py:140
+#: club/models.py:135 club/models.py:196
+msgid "name"
+msgstr ""
+
+#: club/models.py:136
+msgid "manual"
+msgstr ""
+
+#: club/models.py:137
+msgid "notes"
+msgstr ""
+
+#: club/models.py:138
+msgid "updated at"
+msgstr ""
+
+#: club/models.py:142
 msgid "memberships"
 msgstr ""
 
-#: club/models.py:162
+#: club/models.py:179
 msgid "days before"
 msgstr ""
 
-#: club/models.py:163
+#: club/models.py:180
 msgid "subject"
 msgstr ""
 
-#: club/models.py:164 club/payu/models.py:140
+#: club/models.py:181 club/payu/models.py:140
 msgid "body"
 msgstr ""
 
-#: club/models.py:167
+#: club/models.py:184
 msgid "reminder email"
 msgstr ""
 
-#: club/models.py:168
+#: club/models.py:185
 msgid "reminder emails"
 msgstr ""
 
-#: club/models.py:173
+#: club/models.py:190
 #, python-format
 msgid "a day before expiration"
 msgid_plural "%d days before expiration"
 msgstr[0] ""
 msgstr[1] ""
 
-#: club/models.py:175
+#: club/models.py:192
 #, python-format
 msgid "a day after expiration"
 msgid_plural "%d days after expiration"
 msgstr[0] ""
 msgstr[1] ""
 
-#: club/models.py:179
-msgid "name"
-msgstr ""
-
-#: club/models.py:180
+#: club/models.py:197
 msgid "photo"
 msgstr ""
 
-#: club/models.py:181
+#: club/models.py:198
 msgid "text"
 msgstr ""
 
-#: club/models.py:184
+#: club/models.py:201
 msgid "ambassador"
 msgstr ""
 
-#: club/models.py:185
+#: club/models.py:202
 msgid "ambassadors"
 msgstr ""
 
-#: club/models.py:216 club/templates/club/index.html:7
+#: club/models.py:233 club/templates/club/index.html:7
 #: club/templates/club/index.html:13 club/templates/club/thanks.html:6
 #: club/templates/payu/rec_payment.html:5
 msgid "Towarzystwo Przyjaciół Wolnych Lektur"
index a5819ba..4bb56cb 100644 (file)
@@ -77,7 +77,7 @@ msgstr ""
 msgid "email"
 msgstr ""
 
-#: club/models.py:50 club/models.py:139
+#: club/models.py:50 club/models.py:141
 msgid "membership"
 msgstr ""
 
@@ -125,65 +125,77 @@ msgstr ""
 msgid "created at"
 msgstr ""
 
-#: club/models.py:140
+#: club/models.py:135 club/models.py:196
+msgid "name"
+msgstr ""
+
+#: club/models.py:136
+msgid "manual"
+msgstr ""
+
+#: club/models.py:137
+msgid "notes"
+msgstr ""
+
+#: club/models.py:138
+msgid "updated at"
+msgstr ""
+
+#: club/models.py:142
 msgid "memberships"
 msgstr ""
 
-#: club/models.py:162
+#: club/models.py:179
 msgid "days before"
 msgstr ""
 
-#: club/models.py:163
+#: club/models.py:180
 msgid "subject"
 msgstr ""
 
-#: club/models.py:164 club/payu/models.py:140
+#: club/models.py:181 club/payu/models.py:140
 msgid "body"
 msgstr ""
 
-#: club/models.py:167
+#: club/models.py:184
 msgid "reminder email"
 msgstr ""
 
-#: club/models.py:168
+#: club/models.py:185
 msgid "reminder emails"
 msgstr ""
 
-#: club/models.py:173
+#: club/models.py:190
 #, python-format
 msgid "a day before expiration"
 msgid_plural "%d days before expiration"
 msgstr[0] ""
 msgstr[1] ""
 
-#: club/models.py:175
+#: club/models.py:192
 #, python-format
 msgid "a day after expiration"
 msgid_plural "%d days after expiration"
 msgstr[0] ""
 msgstr[1] ""
 
-#: club/models.py:179
-msgid "name"
-msgstr ""
-
-#: club/models.py:180
+#: club/models.py:197
 msgid "photo"
 msgstr ""
 
-#: club/models.py:181
+#: club/models.py:198
 msgid "text"
 msgstr ""
 
-#: club/models.py:184
+#: club/models.py:201
 msgid "ambassador"
 msgstr ""
 
-#: club/models.py:185
+#: club/models.py:202
 msgid "ambassadors"
 msgstr ""
 
-#: club/models.py:216 club/templates/club/index.html:7
+#: club/models.py:233 club/templates/club/index.html:7
 #: club/templates/club/index.html:13 club/templates/club/thanks.html:6
 #: club/templates/payu/rec_payment.html:5
 msgid "Towarzystwo Przyjaciół Wolnych Lektur"
index 1a69144..7147d47 100644 (file)
@@ -132,8 +132,10 @@ class Membership(models.Model):
     """ Represents a user being recognized as a member of the club. """
     user = models.OneToOneField(settings.AUTH_USER_MODEL, verbose_name=_('user'), on_delete=models.CASCADE)
     created_at = models.DateTimeField(_('created at'), auto_now_add=True)
-    name = models.CharField(max_length=255, blank=True)
-    honorary = models.BooleanField(default=False)
+    name = models.CharField(_('name'), max_length=255, blank=True)
+    manual = models.BooleanField(_('manual'), default=False)
+    notes = models.CharField(_('notes'), max_length=2048, blank=True)
+    updated_at = models.DateField(_('updated at'), auto_now=True, blank=True)
 
     class Meta:
         verbose_name = _('membership')
@@ -142,6 +144,21 @@ class Membership(models.Model):
     def __str__(self):
         return str(self.user)
 
+    def save(self, *args, **kwargs):
+        super().save(*args, **kwargs)
+        self.update_contact()
+
+    def update_contact(self):
+        email = self.user.email
+        if not email:
+            return
+
+        Contact = apps.get_model('messaging', 'Contact')
+        if self.manual:
+            Contact.update(email, Level.MANUAL_MEMBER, self.updated_at)
+        else:
+            Contact.reset(email)
+
     @classmethod
     def is_active_for(cls, user):
         if user.is_anonymous:
index e06fdfd..18861a0 100644 (file)
@@ -38,11 +38,11 @@ msgstr ""
 msgid "state"
 msgstr ""
 
-#: messaging/models.py:17 messaging/models.py:171
+#: messaging/models.py:17 messaging/models.py:185
 msgid "subject"
 msgstr ""
 
-#: messaging/models.py:18 messaging/models.py:172
+#: messaging/models.py:18 messaging/models.py:186
 msgid "body"
 msgstr ""
 
@@ -127,46 +127,50 @@ msgid "Recurring donor"
 msgstr ""
 
 #: messaging/models.py:115
+msgid "Manually set as member"
+msgstr ""
+
+#: messaging/models.py:116
 msgid "Opt out"
 msgstr ""
 
-#: messaging/models.py:122
+#: messaging/models.py:123
 msgid "contact"
 msgstr ""
 
-#: messaging/models.py:123
+#: messaging/models.py:124
 msgid "contacts"
 msgstr ""
 
-#: messaging/models.py:175
+#: messaging/models.py:189
 msgid "email sent"
 msgstr ""
 
-#: messaging/models.py:176
+#: messaging/models.py:190
 msgid "emails sent"
 msgstr ""
 
-#: messaging/states.py:75
+#: messaging/states.py:76
 msgid "club one-time donors"
 msgstr ""
 
-#: messaging/states.py:90
+#: messaging/states.py:91
 msgid "club one-time donors with donation expiring"
 msgstr ""
 
-#: messaging/states.py:104
+#: messaging/states.py:105
 msgid "club would-be donors"
 msgstr ""
 
-#: messaging/states.py:116
+#: messaging/states.py:117
 msgid "club recurring donors"
 msgstr ""
 
-#: messaging/states.py:131
+#: messaging/states.py:132
 msgid "club recurring donors with donation expired"
 msgstr ""
 
-#: messaging/states.py:146
+#: messaging/states.py:147
 msgid "cold group"
 msgstr ""
 
index e06fdfd..18861a0 100644 (file)
@@ -38,11 +38,11 @@ msgstr ""
 msgid "state"
 msgstr ""
 
-#: messaging/models.py:17 messaging/models.py:171
+#: messaging/models.py:17 messaging/models.py:185
 msgid "subject"
 msgstr ""
 
-#: messaging/models.py:18 messaging/models.py:172
+#: messaging/models.py:18 messaging/models.py:186
 msgid "body"
 msgstr ""
 
@@ -127,46 +127,50 @@ msgid "Recurring donor"
 msgstr ""
 
 #: messaging/models.py:115
+msgid "Manually set as member"
+msgstr ""
+
+#: messaging/models.py:116
 msgid "Opt out"
 msgstr ""
 
-#: messaging/models.py:122
+#: messaging/models.py:123
 msgid "contact"
 msgstr ""
 
-#: messaging/models.py:123
+#: messaging/models.py:124
 msgid "contacts"
 msgstr ""
 
-#: messaging/models.py:175
+#: messaging/models.py:189
 msgid "email sent"
 msgstr ""
 
-#: messaging/models.py:176
+#: messaging/models.py:190
 msgid "emails sent"
 msgstr ""
 
-#: messaging/states.py:75
+#: messaging/states.py:76
 msgid "club one-time donors"
 msgstr ""
 
-#: messaging/states.py:90
+#: messaging/states.py:91
 msgid "club one-time donors with donation expiring"
 msgstr ""
 
-#: messaging/states.py:104
+#: messaging/states.py:105
 msgid "club would-be donors"
 msgstr ""
 
-#: messaging/states.py:116
+#: messaging/states.py:117
 msgid "club recurring donors"
 msgstr ""
 
-#: messaging/states.py:131
+#: messaging/states.py:132
 msgid "club recurring donors with donation expired"
 msgstr ""
 
-#: messaging/states.py:146
+#: messaging/states.py:147
 msgid "cold group"
 msgstr ""
 
index e06fdfd..18861a0 100644 (file)
@@ -38,11 +38,11 @@ msgstr ""
 msgid "state"
 msgstr ""
 
-#: messaging/models.py:17 messaging/models.py:171
+#: messaging/models.py:17 messaging/models.py:185
 msgid "subject"
 msgstr ""
 
-#: messaging/models.py:18 messaging/models.py:172
+#: messaging/models.py:18 messaging/models.py:186
 msgid "body"
 msgstr ""
 
@@ -127,46 +127,50 @@ msgid "Recurring donor"
 msgstr ""
 
 #: messaging/models.py:115
+msgid "Manually set as member"
+msgstr ""
+
+#: messaging/models.py:116
 msgid "Opt out"
 msgstr ""
 
-#: messaging/models.py:122
+#: messaging/models.py:123
 msgid "contact"
 msgstr ""
 
-#: messaging/models.py:123
+#: messaging/models.py:124
 msgid "contacts"
 msgstr ""
 
-#: messaging/models.py:175
+#: messaging/models.py:189
 msgid "email sent"
 msgstr ""
 
-#: messaging/models.py:176
+#: messaging/models.py:190
 msgid "emails sent"
 msgstr ""
 
-#: messaging/states.py:75
+#: messaging/states.py:76
 msgid "club one-time donors"
 msgstr ""
 
-#: messaging/states.py:90
+#: messaging/states.py:91
 msgid "club one-time donors with donation expiring"
 msgstr ""
 
-#: messaging/states.py:104
+#: messaging/states.py:105
 msgid "club would-be donors"
 msgstr ""
 
-#: messaging/states.py:116
+#: messaging/states.py:117
 msgid "club recurring donors"
 msgstr ""
 
-#: messaging/states.py:131
+#: messaging/states.py:132
 msgid "club recurring donors with donation expired"
 msgstr ""
 
-#: messaging/states.py:146
+#: messaging/states.py:147
 msgid "cold group"
 msgstr ""
 
index 5686054..71406a9 100644 (file)
@@ -38,11 +38,11 @@ msgstr ""
 msgid "state"
 msgstr ""
 
-#: messaging/models.py:17 messaging/models.py:171
+#: messaging/models.py:17 messaging/models.py:185
 msgid "subject"
 msgstr ""
 
-#: messaging/models.py:18 messaging/models.py:172
+#: messaging/models.py:18 messaging/models.py:186
 msgid "body"
 msgstr ""
 
@@ -127,46 +127,50 @@ msgid "Recurring donor"
 msgstr ""
 
 #: messaging/models.py:115
+msgid "Manually set as member"
+msgstr ""
+
+#: messaging/models.py:116
 msgid "Opt out"
 msgstr ""
 
-#: messaging/models.py:122
+#: messaging/models.py:123
 msgid "contact"
 msgstr ""
 
-#: messaging/models.py:123
+#: messaging/models.py:124
 msgid "contacts"
 msgstr ""
 
-#: messaging/models.py:175
+#: messaging/models.py:189
 msgid "email sent"
 msgstr ""
 
-#: messaging/models.py:176
+#: messaging/models.py:190
 msgid "emails sent"
 msgstr ""
 
-#: messaging/states.py:75
+#: messaging/states.py:76
 msgid "club one-time donors"
 msgstr ""
 
-#: messaging/states.py:90
+#: messaging/states.py:91
 msgid "club one-time donors with donation expiring"
 msgstr ""
 
-#: messaging/states.py:104
+#: messaging/states.py:105
 msgid "club would-be donors"
 msgstr ""
 
-#: messaging/states.py:116
+#: messaging/states.py:117
 msgid "club recurring donors"
 msgstr ""
 
-#: messaging/states.py:131
+#: messaging/states.py:132
 msgid "club recurring donors with donation expired"
 msgstr ""
 
-#: messaging/states.py:146
+#: messaging/states.py:147
 msgid "cold group"
 msgstr ""
 
index e06fdfd..18861a0 100644 (file)
@@ -38,11 +38,11 @@ msgstr ""
 msgid "state"
 msgstr ""
 
-#: messaging/models.py:17 messaging/models.py:171
+#: messaging/models.py:17 messaging/models.py:185
 msgid "subject"
 msgstr ""
 
-#: messaging/models.py:18 messaging/models.py:172
+#: messaging/models.py:18 messaging/models.py:186
 msgid "body"
 msgstr ""
 
@@ -127,46 +127,50 @@ msgid "Recurring donor"
 msgstr ""
 
 #: messaging/models.py:115
+msgid "Manually set as member"
+msgstr ""
+
+#: messaging/models.py:116
 msgid "Opt out"
 msgstr ""
 
-#: messaging/models.py:122
+#: messaging/models.py:123
 msgid "contact"
 msgstr ""
 
-#: messaging/models.py:123
+#: messaging/models.py:124
 msgid "contacts"
 msgstr ""
 
-#: messaging/models.py:175
+#: messaging/models.py:189
 msgid "email sent"
 msgstr ""
 
-#: messaging/models.py:176
+#: messaging/models.py:190
 msgid "emails sent"
 msgstr ""
 
-#: messaging/states.py:75
+#: messaging/states.py:76
 msgid "club one-time donors"
 msgstr ""
 
-#: messaging/states.py:90
+#: messaging/states.py:91
 msgid "club one-time donors with donation expiring"
 msgstr ""
 
-#: messaging/states.py:104
+#: messaging/states.py:105
 msgid "club would-be donors"
 msgstr ""
 
-#: messaging/states.py:116
+#: messaging/states.py:117
 msgid "club recurring donors"
 msgstr ""
 
-#: messaging/states.py:131
+#: messaging/states.py:132
 msgid "club recurring donors with donation expired"
 msgstr ""
 
-#: messaging/states.py:146
+#: messaging/states.py:147
 msgid "cold group"
 msgstr ""
 
index 52f56d3..6f663f7 100644 (file)
@@ -40,11 +40,11 @@ msgstr ""
 msgid "state"
 msgstr ""
 
-#: messaging/models.py:17 messaging/models.py:171
+#: messaging/models.py:17 messaging/models.py:185
 msgid "subject"
 msgstr ""
 
-#: messaging/models.py:18 messaging/models.py:172
+#: messaging/models.py:18 messaging/models.py:186
 msgid "body"
 msgstr ""
 
@@ -129,46 +129,50 @@ msgid "Recurring donor"
 msgstr ""
 
 #: messaging/models.py:115
+msgid "Manually set as member"
+msgstr ""
+
+#: messaging/models.py:116
 msgid "Opt out"
 msgstr ""
 
-#: messaging/models.py:122
+#: messaging/models.py:123
 msgid "contact"
 msgstr ""
 
-#: messaging/models.py:123
+#: messaging/models.py:124
 msgid "contacts"
 msgstr ""
 
-#: messaging/models.py:175
+#: messaging/models.py:189
 msgid "email sent"
 msgstr ""
 
-#: messaging/models.py:176
+#: messaging/models.py:190
 msgid "emails sent"
 msgstr ""
 
-#: messaging/states.py:75
+#: messaging/states.py:76
 msgid "club one-time donors"
 msgstr ""
 
-#: messaging/states.py:90
+#: messaging/states.py:91
 msgid "club one-time donors with donation expiring"
 msgstr ""
 
-#: messaging/states.py:104
+#: messaging/states.py:105
 msgid "club would-be donors"
 msgstr ""
 
-#: messaging/states.py:116
+#: messaging/states.py:117
 msgid "club recurring donors"
 msgstr ""
 
-#: messaging/states.py:131
+#: messaging/states.py:132
 msgid "club recurring donors with donation expired"
 msgstr ""
 
-#: messaging/states.py:146
+#: messaging/states.py:147
 msgid "cold group"
 msgstr ""
 
index 119350a..e51a57c 100644 (file)
Binary files a/src/messaging/locale/pl/LC_MESSAGES/django.mo and b/src/messaging/locale/pl/LC_MESSAGES/django.mo differ
index f351d0e..be80249 100644 (file)
@@ -7,7 +7,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: \n"
 "Report-Msgid-Bugs-To: \n"
-"PO-Revision-Date: 2020-01-29 13:25+0100\n"
+"PO-Revision-Date: 2020-11-26 12:56+0100\n"
 "Last-Translator: \n"
 "Language-Team: \n"
 "Language: pl\n"
@@ -17,7 +17,7 @@ msgstr ""
 "Plural-Forms: nplurals=4; plural=(n==1 ? 0 : (n%10>=2 && n%10<=4) && (n"
 "%100<12 || n%100>14) ? 1 : n!=1 && (n%10>=0 && n%10<=1) || (n%10>=5 && n"
 "%10<=9) || (n%100>=12 && n%100<=14) ? 2 : 3);\n"
-"X-Generator: Poedit 2.2.4\n"
+"X-Generator: Poedit 2.3\n"
 
 #: messaging/admin.py:16
 msgid "E-mail content"
@@ -41,11 +41,11 @@ msgstr ""
 msgid "state"
 msgstr "stan"
 
-#: messaging/models.py:17 messaging/models.py:171
+#: messaging/models.py:17 messaging/models.py:185
 msgid "subject"
 msgstr "temat"
 
-#: messaging/models.py:18 messaging/models.py:172
+#: messaging/models.py:18 messaging/models.py:186
 msgid "body"
 msgstr "treść"
 
@@ -130,46 +130,50 @@ msgid "Recurring donor"
 msgstr "Darczyńca z wpłatą cykliczną"
 
 #: messaging/models.py:115
+msgid "Manually set as member"
+msgstr "Członkostwo ustawione ręcznie"
+
+#: messaging/models.py:116
 msgid "Opt out"
 msgstr "Opt-out"
 
-#: messaging/models.py:122
+#: messaging/models.py:123
 msgid "contact"
 msgstr "kontakt"
 
-#: messaging/models.py:123
+#: messaging/models.py:124
 msgid "contacts"
 msgstr "kontakty"
 
-#: messaging/models.py:175
+#: messaging/models.py:189
 msgid "email sent"
 msgstr "wysłany e-mail"
 
-#: messaging/models.py:176
+#: messaging/models.py:190
 msgid "emails sent"
 msgstr "wysłane e-maile"
 
-#: messaging/states.py:75
+#: messaging/states.py:76
 msgid "club one-time donors"
 msgstr "darczyńcy z jednorazową wpłatą"
 
-#: messaging/states.py:90
+#: messaging/states.py:91
 msgid "club one-time donors with donation expiring"
 msgstr "darczyńcy z wygasającą jednorazową wpłatą"
 
-#: messaging/states.py:104
+#: messaging/states.py:105
 msgid "club would-be donors"
 msgstr "niedoszli darczyńcy"
 
-#: messaging/states.py:116
+#: messaging/states.py:117
 msgid "club recurring donors"
 msgstr "darczyńcy z wpłatą cykluczną"
 
-#: messaging/states.py:131
+#: messaging/states.py:132
 msgid "club recurring donors with donation expired"
 msgstr "darczyńcy z wygasającą wpłatą cykliczną"
 
-#: messaging/states.py:146
+#: messaging/states.py:147
 msgid "cold group"
 msgstr "lodówka"
 
index 3a48774..f7a597a 100644 (file)
@@ -40,11 +40,11 @@ msgstr ""
 msgid "state"
 msgstr ""
 
-#: messaging/models.py:17 messaging/models.py:171
+#: messaging/models.py:17 messaging/models.py:185
 msgid "subject"
 msgstr ""
 
-#: messaging/models.py:18 messaging/models.py:172
+#: messaging/models.py:18 messaging/models.py:186
 msgid "body"
 msgstr ""
 
@@ -129,46 +129,50 @@ msgid "Recurring donor"
 msgstr ""
 
 #: messaging/models.py:115
+msgid "Manually set as member"
+msgstr ""
+
+#: messaging/models.py:116
 msgid "Opt out"
 msgstr ""
 
-#: messaging/models.py:122
+#: messaging/models.py:123
 msgid "contact"
 msgstr ""
 
-#: messaging/models.py:123
+#: messaging/models.py:124
 msgid "contacts"
 msgstr ""
 
-#: messaging/models.py:175
+#: messaging/models.py:189
 msgid "email sent"
 msgstr ""
 
-#: messaging/models.py:176
+#: messaging/models.py:190
 msgid "emails sent"
 msgstr ""
 
-#: messaging/states.py:75
+#: messaging/states.py:76
 msgid "club one-time donors"
 msgstr ""
 
-#: messaging/states.py:90
+#: messaging/states.py:91
 msgid "club one-time donors with donation expiring"
 msgstr ""
 
-#: messaging/states.py:104
+#: messaging/states.py:105
 msgid "club would-be donors"
 msgstr ""
 
-#: messaging/states.py:116
+#: messaging/states.py:117
 msgid "club recurring donors"
 msgstr ""
 
-#: messaging/states.py:131
+#: messaging/states.py:132
 msgid "club recurring donors with donation expired"
 msgstr ""
 
-#: messaging/states.py:146
+#: messaging/states.py:147
 msgid "cold group"
 msgstr ""
 
index 5a536f3..b137965 100644 (file)
@@ -41,11 +41,11 @@ msgstr ""
 msgid "state"
 msgstr ""
 
-#: messaging/models.py:17 messaging/models.py:171
+#: messaging/models.py:17 messaging/models.py:185
 msgid "subject"
 msgstr ""
 
-#: messaging/models.py:18 messaging/models.py:172
+#: messaging/models.py:18 messaging/models.py:186
 msgid "body"
 msgstr ""
 
@@ -130,46 +130,50 @@ msgid "Recurring donor"
 msgstr ""
 
 #: messaging/models.py:115
+msgid "Manually set as member"
+msgstr ""
+
+#: messaging/models.py:116
 msgid "Opt out"
 msgstr ""
 
-#: messaging/models.py:122
+#: messaging/models.py:123
 msgid "contact"
 msgstr ""
 
-#: messaging/models.py:123
+#: messaging/models.py:124
 msgid "contacts"
 msgstr ""
 
-#: messaging/models.py:175
+#: messaging/models.py:189
 msgid "email sent"
 msgstr ""
 
-#: messaging/models.py:176
+#: messaging/models.py:190
 msgid "emails sent"
 msgstr ""
 
-#: messaging/states.py:75
+#: messaging/states.py:76
 msgid "club one-time donors"
 msgstr ""
 
-#: messaging/states.py:90
+#: messaging/states.py:91
 msgid "club one-time donors with donation expiring"
 msgstr ""
 
-#: messaging/states.py:104
+#: messaging/states.py:105
 msgid "club would-be donors"
 msgstr ""
 
-#: messaging/states.py:116
+#: messaging/states.py:117
 msgid "club recurring donors"
 msgstr ""
 
-#: messaging/states.py:131
+#: messaging/states.py:132
 msgid "club recurring donors with donation expired"
 msgstr ""
 
-#: messaging/states.py:146
+#: messaging/states.py:147
 msgid "cold group"
 msgstr ""
 
index d598fc8..7891e0c 100644 (file)
@@ -112,6 +112,7 @@ class Contact(models.Model):
             (Level.TRIED, _('Would-be donor')),
             (Level.SINGLE, _('One-time donor')),
             (Level.RECURRING, _('Recurring donor')),
+            (Level.MANUAL_MEMBER, _('Manually set as member')),
             (Level.OPT_OUT, _('Opt out')),
         ])
     since = models.DateTimeField()
@@ -163,6 +164,16 @@ class Contact(models.Model):
             self.expires_at = expires_at
         self.save()
 
+    @classmethod
+    def reset(cls, email):
+        cls.objects.filter(email=email).delete()
+        Schedule = apps.get_model('club', 'Schedule')
+        Membership = apps.get_model('club', 'Membership')
+        for schedule in Schedule.objects.filter(email=email):
+            schedule.update_contact()
+        for membership in Membership.objects.filter(manual=True, user__email=email):
+            membership.update_contact()
+
     def wl_optout_url(self):
         return 'https://wolnelektury.pl' + self.get_optout_url()
 
index c0f3c7e..4105caf 100644 (file)
@@ -9,6 +9,7 @@ class Level:
     TRIED = 20
     SINGLE = 30
     RECURRING = 40
+    MANUAL_MEMBER = 45
     OPT_OUT = 50
 
 
index 62b198a..07cf97e 100644 (file)
@@ -189,16 +189,21 @@ msgstr "Audiobücher"
 msgid "All works"
 msgstr "Alle Bücher"
 
-#: wolnelektury/templates/base/superbase.html:133
+#: wolnelektury/templates/base/superbase.html:127
+#: wolnelektury/templates/main_page.html:92
+msgid "Newsletter"
+msgstr ""
+
+#: wolnelektury/templates/base/superbase.html:136
 #: wolnelektury/templates/board_base.html:28
 msgid "Search"
 msgstr "Suchen"
 
-#: wolnelektury/templates/base/superbase.html:164
+#: wolnelektury/templates/base/superbase.html:167
 msgid "Close"
 msgstr "Schließen"
 
-#: wolnelektury/templates/base/superbase.html:166
+#: wolnelektury/templates/base/superbase.html:169
 msgid "Loading"
 msgstr "Laden"
 
@@ -365,10 +370,6 @@ msgstr "Brauchen Sie ein Buch?"
 msgid "Publishing plan"
 msgstr "Plan der Veröffentlichung"
 
-#: wolnelektury/templates/main_page.html:92
-msgid "Newsletter"
-msgstr ""
-
 #: wolnelektury/templates/main_page.html:97
 #, fuzzy
 msgid "Information"
index 506f82a..aef2bb6 100644 (file)
@@ -188,16 +188,21 @@ msgstr "Audiobooks"
 msgid "All works"
 msgstr "All books"
 
-#: wolnelektury/templates/base/superbase.html:133
+#: wolnelektury/templates/base/superbase.html:127
+#: wolnelektury/templates/main_page.html:92
+msgid "Newsletter"
+msgstr ""
+
+#: wolnelektury/templates/base/superbase.html:136
 #: wolnelektury/templates/board_base.html:28
 msgid "Search"
 msgstr "Search"
 
-#: wolnelektury/templates/base/superbase.html:164
+#: wolnelektury/templates/base/superbase.html:167
 msgid "Close"
 msgstr "Close"
 
-#: wolnelektury/templates/base/superbase.html:166
+#: wolnelektury/templates/base/superbase.html:169
 msgid "Loading"
 msgstr "Loading"
 
@@ -354,10 +359,6 @@ msgstr "Missing a book?"
 msgid "Publishing plan"
 msgstr "Publishing plan"
 
-#: wolnelektury/templates/main_page.html:92
-msgid "Newsletter"
-msgstr ""
-
 #: wolnelektury/templates/main_page.html:97
 msgid "Information"
 msgstr "Information"
index 989e04b..5d054b5 100644 (file)
@@ -187,16 +187,21 @@ msgstr "Audiolibros"
 msgid "All works"
 msgstr "Todos los libros"
 
-#: wolnelektury/templates/base/superbase.html:133
+#: wolnelektury/templates/base/superbase.html:127
+#: wolnelektury/templates/main_page.html:92
+msgid "Newsletter"
+msgstr ""
+
+#: wolnelektury/templates/base/superbase.html:136
 #: wolnelektury/templates/board_base.html:28
 msgid "Search"
 msgstr "Buscar"
 
-#: wolnelektury/templates/base/superbase.html:164
+#: wolnelektury/templates/base/superbase.html:167
 msgid "Close"
 msgstr "Cerrar"
 
-#: wolnelektury/templates/base/superbase.html:166
+#: wolnelektury/templates/base/superbase.html:169
 msgid "Loading"
 msgstr "Cargando"
 
@@ -358,10 +363,6 @@ msgstr "¿Falta un libro?"
 msgid "Publishing plan"
 msgstr "Plan de publicación"
 
-#: wolnelektury/templates/main_page.html:92
-msgid "Newsletter"
-msgstr ""
-
 #: wolnelektury/templates/main_page.html:97
 msgid "Information"
 msgstr "Información"
index 42f030d..53d8e6b 100644 (file)
@@ -189,16 +189,21 @@ msgstr "Livres audio"
 msgid "All works"
 msgstr "Tous les livres"
 
-#: wolnelektury/templates/base/superbase.html:133
+#: wolnelektury/templates/base/superbase.html:127
+#: wolnelektury/templates/main_page.html:92
+msgid "Newsletter"
+msgstr ""
+
+#: wolnelektury/templates/base/superbase.html:136
 #: wolnelektury/templates/board_base.html:28
 msgid "Search"
 msgstr "Rechercher"
 
-#: wolnelektury/templates/base/superbase.html:164
+#: wolnelektury/templates/base/superbase.html:167
 msgid "Close"
 msgstr "Fermer"
 
-#: wolnelektury/templates/base/superbase.html:166
+#: wolnelektury/templates/base/superbase.html:169
 msgid "Loading"
 msgstr "Chargement en cours"
 
@@ -355,10 +360,6 @@ msgstr "Il vous manque un livre?"
 msgid "Publishing plan"
 msgstr "Plan de publication"
 
-#: wolnelektury/templates/main_page.html:92
-msgid "Newsletter"
-msgstr ""
-
 #: wolnelektury/templates/main_page.html:97
 msgid "Information"
 msgstr "Informations"
index 5d955ad..9b4ad70 100644 (file)
@@ -189,16 +189,21 @@ msgstr "Audiolibri"
 msgid "All works"
 msgstr "Tutti i libri"
 
-#: wolnelektury/templates/base/superbase.html:133
+#: wolnelektury/templates/base/superbase.html:127
+#: wolnelektury/templates/main_page.html:92
+msgid "Newsletter"
+msgstr ""
+
+#: wolnelektury/templates/base/superbase.html:136
 #: wolnelektury/templates/board_base.html:28
 msgid "Search"
 msgstr "Cerca"
 
-#: wolnelektury/templates/base/superbase.html:164
+#: wolnelektury/templates/base/superbase.html:167
 msgid "Close"
 msgstr "Chiudi"
 
-#: wolnelektury/templates/base/superbase.html:166
+#: wolnelektury/templates/base/superbase.html:169
 msgid "Loading"
 msgstr "Caricamento"
 
@@ -347,10 +352,6 @@ msgstr "Manca un libro?"
 msgid "Publishing plan"
 msgstr "Programma editoriale"
 
-#: wolnelektury/templates/main_page.html:92
-msgid "Newsletter"
-msgstr ""
-
 #: wolnelektury/templates/main_page.html:97
 msgid "Information"
 msgstr ""
index 750593d..c58248e 100644 (file)
@@ -195,16 +195,21 @@ msgstr "Audio knygos"
 msgid "All works"
 msgstr "Visos knygos"
 
-#: wolnelektury/templates/base/superbase.html:133
+#: wolnelektury/templates/base/superbase.html:127
+#: wolnelektury/templates/main_page.html:92
+msgid "Newsletter"
+msgstr ""
+
+#: wolnelektury/templates/base/superbase.html:136
 #: wolnelektury/templates/board_base.html:28
 msgid "Search"
 msgstr "Ieškoti"
 
-#: wolnelektury/templates/base/superbase.html:164
+#: wolnelektury/templates/base/superbase.html:167
 msgid "Close"
 msgstr "Uždaryti"
 
-#: wolnelektury/templates/base/superbase.html:166
+#: wolnelektury/templates/base/superbase.html:169
 msgid "Loading"
 msgstr "Kraunasi"
 
@@ -374,10 +379,6 @@ msgstr "Neradote knygos?"
 msgid "Publishing plan"
 msgstr "Publikavimo planas"
 
-#: wolnelektury/templates/main_page.html:92
-msgid "Newsletter"
-msgstr ""
-
 #: wolnelektury/templates/main_page.html:97
 msgid "Information"
 msgstr "Informacija"
index a91b633..6835c74 100644 (file)
@@ -182,16 +182,21 @@ msgstr "Audiobooki"
 msgid "All works"
 msgstr "Wszystkie utwory"
 
-#: wolnelektury/templates/base/superbase.html:133
+#: wolnelektury/templates/base/superbase.html:127
+#: wolnelektury/templates/main_page.html:92
+msgid "Newsletter"
+msgstr "Newsletter"
+
+#: wolnelektury/templates/base/superbase.html:136
 #: wolnelektury/templates/board_base.html:28
 msgid "Search"
 msgstr "Szukaj"
 
-#: wolnelektury/templates/base/superbase.html:164
+#: wolnelektury/templates/base/superbase.html:167
 msgid "Close"
 msgstr "Zamknij"
 
-#: wolnelektury/templates/base/superbase.html:166
+#: wolnelektury/templates/base/superbase.html:169
 msgid "Loading"
 msgstr "Ładowanie"
 
@@ -334,10 +339,6 @@ msgstr "Nie znalazłeś/-aś utworu?"
 msgid "Publishing plan"
 msgstr "Plan publikacji"
 
-#: wolnelektury/templates/main_page.html:92
-msgid "Newsletter"
-msgstr "Newsletter"
-
 #: wolnelektury/templates/main_page.html:97
 msgid "Information"
 msgstr "Informacje"
index 7dc4690..204e078 100644 (file)
@@ -196,16 +196,21 @@ msgstr "Аудиокниги"
 msgid "All works"
 msgstr "Все книги"
 
-#: wolnelektury/templates/base/superbase.html:133
+#: wolnelektury/templates/base/superbase.html:127
+#: wolnelektury/templates/main_page.html:92
+msgid "Newsletter"
+msgstr ""
+
+#: wolnelektury/templates/base/superbase.html:136
 #: wolnelektury/templates/board_base.html:28
 msgid "Search"
 msgstr "Поиск"
 
-#: wolnelektury/templates/base/superbase.html:164
+#: wolnelektury/templates/base/superbase.html:167
 msgid "Close"
 msgstr "Закройте"
 
-#: wolnelektury/templates/base/superbase.html:166
+#: wolnelektury/templates/base/superbase.html:169
 msgid "Loading"
 msgstr "Погрузка"
 
@@ -373,10 +378,6 @@ msgstr "Потеряли книгу?"
 msgid "Publishing plan"
 msgstr "Издательский план"
 
-#: wolnelektury/templates/main_page.html:92
-msgid "Newsletter"
-msgstr ""
-
 #: wolnelektury/templates/main_page.html:97
 msgid "Information"
 msgstr "Информация"
index 46140fb..461a9f2 100644 (file)
@@ -193,16 +193,21 @@ msgstr "Аудіокниги"
 msgid "All works"
 msgstr "Всі книжки"
 
-#: wolnelektury/templates/base/superbase.html:133
+#: wolnelektury/templates/base/superbase.html:127
+#: wolnelektury/templates/main_page.html:92
+msgid "Newsletter"
+msgstr ""
+
+#: wolnelektury/templates/base/superbase.html:136
 #: wolnelektury/templates/board_base.html:28
 msgid "Search"
 msgstr "Пошук"
 
-#: wolnelektury/templates/base/superbase.html:164
+#: wolnelektury/templates/base/superbase.html:167
 msgid "Close"
 msgstr "Закрити"
 
-#: wolnelektury/templates/base/superbase.html:166
+#: wolnelektury/templates/base/superbase.html:169
 msgid "Loading"
 msgstr "Завантажується"
 
@@ -372,10 +377,6 @@ msgstr "Не знайшли книжки?"
 msgid "Publishing plan"
 msgstr "План публікації"
 
-#: wolnelektury/templates/main_page.html:92
-msgid "Newsletter"
-msgstr ""
-
 #: wolnelektury/templates/main_page.html:97
 msgid "Information"
 msgstr "інформація"