From: Jan Szejko Date: Wed, 6 Jul 2016 10:44:49 +0000 (+0200) Subject: corrections in register speaker form X-Git-Url: https://git.mdrn.pl/prawokultury.git/commitdiff_plain/077f4784b82b151dde0097ed7c2b2aefcf232ea6 corrections in register speaker form --- diff --git a/prawokultury/contact_forms.py b/prawokultury/contact_forms.py index cba3fe2..91cb5fd 100644 --- a/prawokultury/contact_forms.py +++ b/prawokultury/contact_forms.py @@ -112,6 +112,14 @@ class RegisterSpeaker(RegistrationForm): required=False ) + agree_data = None + + agree_terms = forms.BooleanField( + label=_('Terms and Conditions'), + help_text=mark_safe_lazy(_(u'I accept ' + u'CopyCamp Terms and Conditions.')) + ) + # workshop = forms.BooleanField(label=_('Workshop'), required=False) # workshop_title = forms.CharField(label=_('Title of workshop'), # max_length=256, required=False) @@ -141,8 +149,9 @@ class RegisterSpeaker(RegistrationForm): # 'workshop_summary', 'agree_mailing', - 'agree_data', - 'agree_license' + # 'agree_data', + 'agree_license', + 'agree_terms', ] def clean(self): diff --git a/prawokultury/locale/pl/LC_MESSAGES/django.mo b/prawokultury/locale/pl/LC_MESSAGES/django.mo index e9108ba..f6763c8 100644 Binary files a/prawokultury/locale/pl/LC_MESSAGES/django.mo and b/prawokultury/locale/pl/LC_MESSAGES/django.mo differ diff --git a/prawokultury/locale/pl/LC_MESSAGES/django.po b/prawokultury/locale/pl/LC_MESSAGES/django.po index b16451a..0c040fd 100644 --- a/prawokultury/locale/pl/LC_MESSAGES/django.po +++ b/prawokultury/locale/pl/LC_MESSAGES/django.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: prawokultury\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2016-07-05 15:06+0200\n" +"POT-Creation-Date: 2016-07-06 12:26+0200\n" "PO-Revision-Date: 2014-09-30 16:25+0100\n" "Last-Translator: Radek Czajka \n" "Language-Team: FNP \n" @@ -31,11 +31,11 @@ msgstr "Imię" msgid "Last name" msgstr "Nazwisko" -#: contact_forms.py:28 contact_forms.py:165 contact_forms.py:177 +#: contact_forms.py:28 contact_forms.py:174 contact_forms.py:186 msgid "E-mail" msgstr "E-mail" -#: contact_forms.py:29 contact_forms.py:166 contact_forms.py:178 +#: contact_forms.py:29 contact_forms.py:175 contact_forms.py:187 msgid "Organization" msgstr "Organizacja" @@ -51,11 +51,11 @@ msgstr "" "Jestem zainteresowana/y otrzymywaniem drogą mailową informacji dotyczących " "działalności Fundacji Nowoczesna Polska" -#: contact_forms.py:46 contact_forms.py:206 +#: contact_forms.py:46 contact_forms.py:215 msgid "Permission for data processing" msgstr "Zgoda na przetwarzanie danych" -#: contact_forms.py:47 contact_forms.py:207 +#: contact_forms.py:47 contact_forms.py:216 msgid "" "I hereby grant Modern Poland Foundation (Fundacja Nowoczesna Polska, ul. " "Marszałkowska 84/92, 00-514 Warszawa) permission to process my personal data " @@ -65,11 +65,11 @@ msgstr "" "poczty elektronicznej) przez Fundację Nowoczesna Polska (ul. Marszałkowska " "84/92, 00-514 Warszawa) w związku z rejestracją na konferencję CopyCamp." -#: contact_forms.py:50 contact_forms.py:210 +#: contact_forms.py:50 contact_forms.py:219 msgid "Permission for publication" msgstr "Zgoda na publikację" -#: contact_forms.py:51 contact_forms.py:211 +#: contact_forms.py:51 contact_forms.py:220 msgid "" "I agree to having materials, recorded during the conference, released under " "the terms of CopyCamp Terms and Conditions." +msgstr "" +"Akceptuję regulamin CopyCampu" + +#: contact_forms.py:161 msgid "Fill at least one bio!" msgstr "Wpisz przynajmniej jedną notkę biograficzną (po polsku lub angielsku)!" -#: contact_forms.py:154 +#: contact_forms.py:163 msgid "Fill at least one title!" msgstr "Wpisz przynajmniej jeden tytuł prezentacji (po polsku lub angielsku)!" -#: contact_forms.py:162 +#: contact_forms.py:171 msgid "Next CopyCamp" msgstr "Kolejny CopyCamp" -#: contact_forms.py:164 contact_forms.py:176 +#: contact_forms.py:173 contact_forms.py:185 msgid "Name" msgstr "Imię i nazwisko" -#: contact_forms.py:174 +#: contact_forms.py:183 msgid "Workshop" msgstr "Warsztat" diff --git a/prawokultury/templates/contact/register-speaker/form.html b/prawokultury/templates/contact/register-speaker/form.html index 73c157e..740c9e6 100644 --- a/prawokultury/templates/contact/register-speaker/form.html +++ b/prawokultury/templates/contact/register-speaker/form.html @@ -24,6 +24,7 @@ {% csrf_token %} {{ form.as_table }} +
{% chunk "contact_form__"|add:form.form_tag|add:"__data_processing" %}