Old changes
authorRadek Czajka <radoslaw.czajka@nowoczesnapolska.org.pl>
Wed, 2 Apr 2014 13:16:51 +0000 (13:16 +0000)
committerPrawo Kultury <prawokultury@giewont.vls.icm.edu.pl>
Wed, 2 Apr 2014 13:16:51 +0000 (13:16 +0000)
contact/admin.py
contact/templates/contact/mail_body.txt
prawokultury/contact_forms.py
prawokultury/locale/pl/LC_MESSAGES/django.mo
prawokultury/locale/pl/LC_MESSAGES/django.po
prawokultury/templates/contact/register/form.html
prawokultury/templates/contact/register/mail_body.txt

index 3fd337f..3776fc4 100644 (file)
@@ -21,6 +21,7 @@ class ContactAdmin(admin.ModelAdmin):
         ["admin_list_%d" % i for i in range(admin_list_width)]
     fields = ['form_tag', 'created_at', 'contact', 'ip']
     readonly_fields = ['form_tag', 'created_at', 'contact', 'ip']
         ["admin_list_%d" % i for i in range(admin_list_width)]
     fields = ['form_tag', 'created_at', 'contact', 'ip']
     readonly_fields = ['form_tag', 'created_at', 'contact', 'ip']
+    list_filter = ['form_tag']
 
     def admin_list(self, obj, nr):
         try:
 
     def admin_list(self, obj, nr):
         try:
index 5015757..5d38977 100644 (file)
@@ -1,6 +1,6 @@
 {% load i18n %}
 {% blocktrans %}Thank you for contacting us at {{ site_name }}.{% endblocktrans %}
 {% load i18n %}
 {% blocktrans %}Thank you for contacting us at {{ site_name }}.{% endblocktrans %}
-{% trans "Your submission has been referred to the project coordinator." %}
+{% trans "Thank you for registering to the CopyCamp 2013 conference. Please arrive early to obtain your name badge and conference materials." %}
 
 -- 
 {% trans "Message sent automatically. Please do not reply to it." %}
 
 -- 
 {% trans "Message sent automatically. Please do not reply to it." %}
index d01d5e4..bb6a54c 100644 (file)
@@ -36,3 +36,13 @@ class RegistrationForm(ContactForm):
         if self.limit_reached:
             for field in ('title', 'summary'):
                 self.fields[field].required = True
         if self.limit_reached:
             for field in ('title', 'summary'):
                 self.fields[field].required = True
+
+class NextForm(ContactForm):
+    form_tag = 'next'
+    form_title = _('Next CopyCamp')
+
+    name = forms.CharField(label=_('Name'), max_length=128)
+    contact = forms.EmailField(label=_('E-mail'), max_length=128)
+    organization = forms.CharField(label=_('Organization'),
+            max_length=256, required=False)
+
index c58a18a..9d25776 100644 (file)
Binary files a/prawokultury/locale/pl/LC_MESSAGES/django.mo and b/prawokultury/locale/pl/LC_MESSAGES/django.mo differ
index 5ff515e..dbeb717 100644 (file)
@@ -7,7 +7,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: prawokultury\n"
 "Report-Msgid-Bugs-To: \n"
 msgstr ""
 "Project-Id-Version: prawokultury\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2012-11-08 11:21+0100\n"
+"POT-Creation-Date: 2013-09-12 12:00+0200\n"
 "PO-Revision-Date: 2012-11-08 11:22+0100\n"
 "Last-Translator: Radek Czajka <radoslaw.czajka@nowoczesnapolska.org.pl>\n"
 "Language-Team: FNP <fundacja@nowoczesnapolska.org.pl>\n"
 "PO-Revision-Date: 2012-11-08 11:22+0100\n"
 "Last-Translator: Radek Czajka <radoslaw.czajka@nowoczesnapolska.org.pl>\n"
 "Language-Team: FNP <fundacja@nowoczesnapolska.org.pl>\n"
@@ -15,55 +15,70 @@ msgstr ""
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
-"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2)\n"
+"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 "
+"|| n%100>=20) ? 1 : 2)\n"
 
 
-#: contact_forms.py:11
-#: menu_items.py:22
+#: contact_forms.py:11 menu_items.py:22
 msgid "Take part!"
 msgstr "Weź udział!"
 
 msgid "Take part!"
 msgstr "Weź udział!"
 
-#: contact_forms.py:13
+#: contact_forms.py:14
 msgid "Name"
 msgstr "Imię i nazwisko"
 
 msgid "Name"
 msgstr "Imię i nazwisko"
 
-#: contact_forms.py:14
+#: contact_forms.py:15
 msgid "E-mail"
 msgstr "E-mail"
 
 msgid "E-mail"
 msgstr "E-mail"
 
-#: contact_forms.py:15
+#: contact_forms.py:16
 msgid "Organization"
 msgstr "Organizacja"
 
 msgid "Organization"
 msgstr "Organizacja"
 
-#: contact_forms.py:17
+#: contact_forms.py:18
 msgid "Title of presentation"
 msgstr "Tytuł prezentacji"
 
 msgid "Title of presentation"
 msgstr "Tytuł prezentacji"
 
-#: contact_forms.py:19
+#: contact_forms.py:20
 msgid "Presentation"
 msgstr "Prezentacja"
 
 msgid "Presentation"
 msgstr "Prezentacja"
 
-#: contact_forms.py:21
+#: contact_forms.py:22
 msgid "Summary of presentation (max. 1800 characters)"
 msgstr "Krótki opis prezentacji (maks. 1800 znaków)"
 
 msgid "Summary of presentation (max. 1800 characters)"
 msgstr "Krótki opis prezentacji (maks. 1800 znaków)"
 
-#: contact_forms.py:24
+#: contact_forms.py:25
 msgid "Permission for data processing"
 msgstr "Zgoda na przetwarzanie danych"
 
 msgid "Permission for data processing"
 msgstr "Zgoda na przetwarzanie danych"
 
-#: contact_forms.py:25
-msgid "I hereby grant Modern Poland Foundation (Fundacja Nowoczesna Polska, ul. Marszałkowska 84/92, 00-514 Warszawa) permission to process my personal data (name, e-mail address) for purposes of registration for CopyCamp conference."
-msgstr "Wyrażam zgodę na przetwarzanie moich danych osobowych (imię, nazwisko, adres 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:26
+msgid ""
+"I hereby grant Modern Poland Foundation (Fundacja Nowoczesna Polska, ul. "
+"Marszałkowska 84/92, 00-514 Warszawa) permission to process my personal data "
+"(name, e-mail address) for purposes of registration for CopyCamp conference."
+msgstr ""
+"Wyrażam zgodę na przetwarzanie moich danych osobowych (imię, nazwisko, adres "
+"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:28
+#: contact_forms.py:29
 msgid "Permission for publication"
 msgstr "Zgoda na publikację"
 
 msgid "Permission for publication"
 msgstr "Zgoda na publikację"
 
-#: contact_forms.py:29
-msgid "I agree to having materials recorded during the conference released under the terms of <a href=\"http://creativecommons.org/licenses/by-sa/3.0/deed\">CC BY-SA</a> license."
-msgstr "Wyrażam zgodę na publikację materiałów zarejestrowanych na konferencji na licencji <a href=\"http://creativecommons.org/licenses/by-sa/3.0/deed.pl\">CC BY-SA</a>."
+#: contact_forms.py:30
+msgid ""
+"I agree to having materials recorded during the conference released under "
+"the terms of <a href=\"http://creativecommons.org/licenses/by-sa/3.0/deed"
+"\">CC BY-SA</a> license."
+msgstr ""
+"Wyrażam zgodę na publikację materiałów zarejestrowanych na konferencji na "
+"licencji <a href=\"http://creativecommons.org/licenses/by-sa/3.0/deed.pl"
+"\">CC BY-SA</a>."
+
+#: settings.d/60-custom.py:5
+msgid "info"
+msgstr ""
 
 
-#: templates/404.html:5
-#: templates/404.html.py:10
+#: templates/404.html:5 templates/404.html.py:10
 msgid "Page not found"
 msgstr "Strona nie znaleziona"
 
 msgid "Page not found"
 msgstr "Strona nie znaleziona"
 
@@ -71,39 +86,49 @@ msgstr "Strona nie znaleziona"
 msgid "The page you were looking for doesn't exist."
 msgstr "Strona, której szukasz, nie istnieje."
 
 msgid "The page you were looking for doesn't exist."
 msgstr "Strona, której szukasz, nie istnieje."
 
-#: templates/base.html:16
-msgid "CopyCamp Conference is the first large-scale meeting in Poland devoted to the issues of copyright in both ideological and practical terms."
-msgstr "CopyCamp jest pierwszym w Polsce, organizowanym na dużą skalę spotkaniem osób zajmujących się problematyką praw autorskich."
+#: templates/base.html:18
+msgid ""
+"CopyCamp Conference is the first large-scale meeting in Poland devoted to "
+"the issues of copyright in both ideological and practical terms."
+msgstr ""
+"CopyCamp jest pierwszym w Polsce, organizowanym na dużą skalę spotkaniem "
+"osób zajmujących się problematyką praw autorskich."
 
 
-#: templates/base.html:26
+#: templates/base.html:28
 msgid "CopyCamp"
 msgstr "CopyCamp"
 
 msgid "CopyCamp"
 msgstr "CopyCamp"
 
-#: templates/base.html:42
+#: templates/base.html:44
 msgid "Search"
 msgstr "Szukaj"
 
 msgid "Search"
 msgstr "Szukaj"
 
-#: templates/base.html:85
-msgid "If not explicitly stated otherwise, all texts are licensed under the <a href='http://creativecommons.org/licenses/by-sa/3.0/'>Creative Commons Attribution-Share Alike</a> free license."
-msgstr "Jeśli nie oznaczono inaczej, wszystkie teksty są objęte wolną licencją <a href='http://creativecommons.org/licenses/by-sa/3.0/deed.pl'>Creative Commons Uznanie autorstwa – Na tych samych warunkach</a>."
-
-#: templates/contact/register/form.html:8
+#: templates/base.html:87
 msgid ""
 msgid ""
-"Conference registration limit has been reached."
+"If not explicitly stated otherwise, all texts are licensed under the <a "
+"href='http://creativecommons.org/licenses/by-sa/3.0/'>Creative Commons "
+"Attribution-Share Alike</a> free license."
 msgstr ""
 msgstr ""
-"Limit rejestracji uczestników konferencji został osiągnięty."
+"Jeśli nie oznaczono inaczej, wszystkie teksty są objęte wolną licencją <a "
+"href='http://creativecommons.org/licenses/by-sa/3.0/deed.pl'>Creative "
+"Commons Uznanie autorstwa – Na tych samych warunkach</a>."
 
 #: templates/contact/register/mail_body.txt:2
 #: templates/contact/register/mail_subject.txt:1
 #, python-format
 msgid "Thank you for submitting the registration form at %(site_name)s."
 
 #: templates/contact/register/mail_body.txt:2
 #: templates/contact/register/mail_subject.txt:1
 #, python-format
 msgid "Thank you for submitting the registration form at %(site_name)s."
-msgstr "Dziękujemy za wypełnienie formularza rejestracyjnego na stronie %(site_name)s."
+msgstr ""
+"Dziękujemy za wypełnienie formularza rejestracyjnego na stronie "
+"%(site_name)s."
 
 #: templates/contact/register/mail_body.txt:3
 
 #: templates/contact/register/mail_body.txt:3
-msgid "Your submission has been referred to the project coordinator."
-msgstr "Twoje zgłoszenie zostało przekazane osobie koordynującej projekt."
+msgid ""
+"Thank you for registering to the CopyCamp 2013 conference.\n"
+"Please arrive early to obtain your name badge and conference materials."
+msgstr ""
+"Dziękujemy za rejestrację na konferencję CopyCamp 2013."
+"Prosimy o wcześniejsze przybycie w celu otrzymania identyfikatora i materiałów konferencyjnych."
 
 
-#: templates/contact/register/mail_body.txt:6
+#: templates/contact/register/mail_body.txt:7
 msgid "Message sent automatically. Please do not reply to it."
 msgstr "Wiadomość wysłana automatycznie, prosimy nie odpowiadać."
 
 msgid "Message sent automatically. Please do not reply to it."
 msgstr "Wiadomość wysłana automatycznie, prosimy nie odpowiadać."
 
@@ -111,6 +136,12 @@ msgstr "Wiadomość wysłana automatycznie, prosimy nie odpowiadać."
 msgid "Thank you for submitting the registration form."
 msgstr "Dziękujemy za wypełnienie formularza rejestracyjnego."
 
 msgid "Thank you for submitting the registration form."
 msgstr "Dziękujemy za wypełnienie formularza rejestracyjnego."
 
+#~ msgid "Your submission has been referred to the project coordinator."
+#~ msgstr "Twoje zgłoszenie zostało przekazane osobie koordynującej projekt."
+
+#~ msgid "Conference registration limit has been reached."
+#~ msgstr "Limit rejestracji uczestników konferencji został osiągnięty."
+
 #~ msgid "Registration form"
 #~ msgstr "Formularz rejestracyjny"
 
 #~ msgid "Registration form"
 #~ msgstr "Formularz rejestracyjny"
 
index 42e127d..2c19f4d 100644 (file)
@@ -4,7 +4,6 @@
 {% block "titleextra" %}{{ form.form_title }} :: {% endblock %}
 
 {% block "body" %}
 {% block "titleextra" %}{{ form.form_title }} :: {% endblock %}
 
 {% block "body" %}
-
     <h1>{% block contact_form_title %}{{ form.form_title }}{% endblock %}</h1>
 
     <div class="form-info">
     <h1>{% block contact_form_title %}{{ form.form_title }}{% endblock %}</h1>
 
     <div class="form-info">
@@ -26,5 +25,6 @@
     </table>
     </form>
   {% endif %}
     </table>
     </form>
   {% endif %}
+   <script type="text/javascript" src="/static/js/prefill.js"></script>
 
 {% endblock %}
 
 {% endblock %}
index 4c30ef7..2c256cc 100755 (executable)
@@ -1,6 +1,7 @@
 {% load i18n %}
 {% load i18n %}
-{% blocktrans %}Thank you for submitting the registration form at {{ site_name }}.{% endblocktrans %}
-{% trans "Your submission has been referred to the project coordinator." %}
+{% comment %}{% blocktrans %}Thank you for submitting the registration form at {{ site_name }}.{% endblocktrans %}{% endcomment %}
+{% blocktrans %}Thank you for registering to the CopyCamp 2013 conference.
+Please arrive early to obtain your name badge and conference materials.{% endblocktrans %}
 
 -- 
 {% trans "Message sent automatically. Please do not reply to it." %}
 
 -- 
 {% trans "Message sent automatically. Please do not reply to it." %}