--- /dev/null
+# SOME DESCRIPTIVE TITLE.
+# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2013-10-18 12:46+0200\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: \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"
+
+#: templates/comment/commentdocument_list.html:7
+#, python-format
+msgid ""
+"\n"
+" Take part in consultations by filling out <a href=\"%(form_href)s\">this "
+"form</a> or comment on specific competencies in different thematic fields\n"
+" "
+msgstr ""
+"\n"
+" Weź udział w konsultacjach wypełniając <a href=\"%(form_href)s\">ten formularz</a>"
+" lub skomentuj szczegółowo kompetencje w poszczególnych obszarach tematycznych\n"
+" "
+
{% extends "base_mil.html" %}
+{% load i18n %}
{% block body %}
+ <p>{% blocktrans with href=form_href %}
+ Take part in consultations by filling out <a href="{{form_href}}">this form</a> or comment on specific competencies in different thematic fields
+ {% endblocktrans %}:</p>
+
<ol>
{% for document in object_list %}
<li><a href="{{document.get_absolute_url}}">{{document.name}}</a></li>
from django.conf import settings
from django.utils.translation import get_language
+from django.core.urlresolvers import reverse
+
from .models import CommentDocument
def get_queryset(self, **kwargs):
return super(CommentDocumentList, self).get_queryset(**kwargs).filter(language_code = get_language())
+ def get_context_data(self, **kwargs):
+ context = super(CommentDocumentList, self).get_context_data(**kwargs)
+ context['form_href'] = reverse('contact_form', kwargs = dict(form_tag = 'mil'))
+ return context
+
class CommentDocument(DetailView):
model = CommentDocument
-{% extends "base.html" %}
+{% extends form.base_template|default:"base.html" %}
{% load chunks %}
{% block title %}{{ form.form_title }}{% endblock %}
-{% extends "base.html" %}
+{% extends form.base_template|default:"base.html" %}
{% load i18n %}
{% block title %}{% trans "Thank you" %}{% endblock %}
# -*- coding: utf-8 -*-
from django import forms
from contact.forms import ContactForm
+from django.utils.translation import ugettext as _
class RegistrationForm(ContactForm):
required=False
)
+class MILForm(ContactForm):
+ form_tag = 'mil'
+ from_title = 'Mil'
+ submit_label = _('Submit')
+ base_template = 'base_mil.html'
+
+ name = forms.CharField(label = _('Name and Surname'), max_length = 255)
+ contact = forms.EmailField(label = _('E-mail'), max_length = 255)
+
+ institution = forms.CharField(label =_('Institution'), widget = forms.Textarea, max_length = 8192)
+
+ question_stages = forms.CharField(
+ label = _('What do you think about the proposed educational stages classification?'),
+ widget = forms.Textarea,
+ max_length = 255
+ )
+
+ question_fields = forms.CharField(
+ label = _('What do you think about the proposed thematic fields?'),
+ widget = forms.Textarea,
+ max_length = 255
+ )
+
+ question_left_out = forms.CharField(
+ label = _('What important areas of media and information literacy have been left out?'),
+ widget = forms.Textarea,
+ max_length = 255
+ )
+
+ other = forms.CharField(
+ label = _('Other suggestions and comments'),
+ widget = forms.Textarea,
+ max_length = 255
+ )
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2013-10-15 14:02+0200\n"
+"POT-Creation-Date: 2013-10-18 12:02+0200\n"
"PO-Revision-Date: 2012-11-19 15:58+0100\n"
"Last-Translator: Radek Czajka <radoslaw.czajka@nowoczesnapolska.org.pl>\n"
"Language-Team: LANGUAGE <LL@li.org>\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:133
+msgid "Submit"
+msgstr "Zgłoś"
+
+#: contact_forms.py:135
+msgid "Name and Surname"
+msgstr "Imię i nazwisko"
+
+#: contact_forms.py:136
+msgid "E-mail"
+msgstr "Adres e-mail"
+
+#: contact_forms.py:138
+msgid "Institution"
+msgstr "Instytucja"
+
+#: contact_forms.py:141
+msgid "What do you think about the proposed educational stages classification?"
+msgstr "Co sądzisz o zaproponowanym podziale na etapy edukacyjne?"
+
+#: contact_forms.py:147
+msgid "What do you think about the proposed thematic fields?"
+msgstr "Co sądzisz o zaproponowanym podziale na obszary tematyczne?"
+
+#: contact_forms.py:153
+msgid ""
+"What important areas of media and information literacy have been left out?"
+msgstr "Jakie ważne obszary edukacji medialnej i informacyjnej zostały Twoim zdaniem niewystarczająco pogłębione lub pominięto je w ogóle?"
+
+#: contact_forms.py:159
+msgid "Other suggestions and comments"
+msgstr "Inne uwagi i sugestie"
+
#: templates/404.html:4
#: templates/404.html.py:8
#: templates/404.html:4 templates/404.html.py:8 templates/404_mil.html:4
urlpatterns = i18n_patterns('',
url(r'^$', mil_home_view, name="mil_home"),
url(r'^kompetencje/', include('curriculum.urls')),
- url(r'^wez-udzial/', include('comment.urls'))
+ url(r'^wez-udzial/', include('comment.urls')),
+ url(r'^zglos/', include('contact.urls')),
)
handler404 = 'edumed.views.mil_404_view'