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"
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"
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"
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 ""
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"
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"
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"
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 ""
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"
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"
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"
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 ""
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"
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"
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"
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 ""
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"
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"
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"
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 ""
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 "
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"
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"
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 ""
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 файл"
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"
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 "Мотивы"
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 ""
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"
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"
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 "Теми"
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 ""
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)
msgid "email"
msgstr ""
-#: club/models.py:50 club/models.py:139
+#: club/models.py:50 club/models.py:141
msgid "membership"
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"
msgid "email"
msgstr ""
-#: club/models.py:50 club/models.py:139
+#: club/models.py:50 club/models.py:141
msgid "membership"
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"
msgid "email"
msgstr ""
-#: club/models.py:50 club/models.py:139
+#: club/models.py:50 club/models.py:141
msgid "membership"
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"
msgid "email"
msgstr ""
-#: club/models.py:50 club/models.py:139
+#: club/models.py:50 club/models.py:141
msgid "membership"
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"
msgid "email"
msgstr ""
-#: club/models.py:50 club/models.py:139
+#: club/models.py:50 club/models.py:141
msgid "membership"
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"
msgid "email"
msgstr ""
-#: club/models.py:50 club/models.py:139
+#: club/models.py:50 club/models.py:141
msgid "membership"
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"
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"
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"
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"
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"
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"
msgid "email"
msgstr ""
-#: club/models.py:50 club/models.py:139
+#: club/models.py:50 club/models.py:141
msgid "membership"
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"
msgid "email"
msgstr ""
-#: club/models.py:50 club/models.py:139
+#: club/models.py:50 club/models.py:141
msgid "membership"
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"
""" 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')
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:
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 ""
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 ""
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 ""
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 ""
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 ""
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 ""
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 ""
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 ""
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 ""
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 ""
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 ""
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 ""
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"
"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"
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ść"
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"
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 ""
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 ""
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 ""
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 ""
(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()
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()
TRIED = 20
SINGLE = 30
RECURRING = 40
+ MANUAL_MEMBER = 45
OPT_OUT = 50
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"
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"
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"
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"
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"
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"
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"
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"
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"
msgid "Publishing plan"
msgstr "Programma editoriale"
-#: wolnelektury/templates/main_page.html:92
-msgid "Newsletter"
-msgstr ""
-
#: wolnelektury/templates/main_page.html:97
msgid "Information"
msgstr ""
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"
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"
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"
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"
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 "Погрузка"
msgid "Publishing plan"
msgstr "Издательский план"
-#: wolnelektury/templates/main_page.html:92
-msgid "Newsletter"
-msgstr ""
-
#: wolnelektury/templates/main_page.html:97
msgid "Information"
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 "Завантажується"
msgid "Publishing plan"
msgstr "План публікації"
-#: wolnelektury/templates/main_page.html:92
-msgid "Newsletter"
-msgstr ""
-
#: wolnelektury/templates/main_page.html:97
msgid "Information"
msgstr "інформація"