msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2013-06-12 12:50+0200\n"
+"POT-Creation-Date: 2013-06-12 13:08+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: Guillaume Pellerin <yomguy@parisson.com>\n"
"Language-Team: LANGUAGE <lists@parisson.com>\n"
#: models/crfpa.py:147 models/pro.py:267
#: templates/teleforma/seminar_testimonial.html:36
-#: templates/teleforma/seminar_testimonial_presence.html:36
+#: templates/teleforma/seminar_testimonial_knowledge.html:36
#: templates/telemeta/profile_detail.html:80
msgid "Address"
msgstr "Adresse"
#: models/pro.py:186 templates/teleforma/answer_detail.html:45
#: templates/teleforma/answer_form.html:115
-#: templates/teleforma/seminar_testimonial_presence.html:43
+#: templates/teleforma/seminar_testimonial_knowledge.html:43
msgid "Answer"
msgstr "Réponse à la consultation"
msgstr "Modèle d'attestation"
#: models/pro.py:249 templates/teleforma/seminar_testimonial.html:13
+#: templates/teleforma/seminar_testimonial_knowledge.html:13
#: templates/teleforma/seminar_testimonial_payback.html:13
-#: templates/teleforma/seminar_testimonial_presence.html:13
#: templates/teleforma/inc/testimonial_list.html:7
#: templates/teleforma/inc/testimonial_step.html:7 views/pro.py:631
msgid "Testimonial"
#: templates/postman/base_folder.html:42
#: templates/teleforma/seminar_testimonial.html:37
-#: templates/teleforma/seminar_testimonial_presence.html:37
+#: templates/teleforma/seminar_testimonial_knowledge.html:37
msgid "Subject"
msgstr ""
#: templates/teleforma/course_conference.html:70
#: templates/teleforma/course_media.html:130
#: templates/teleforma/seminar_testimonial.html:38
-#: templates/teleforma/seminar_testimonial_presence.html:38
+#: templates/teleforma/seminar_testimonial_knowledge.html:38
msgid "Course"
msgstr "Matière"
msgstr "Attestation de formation"
#: templates/teleforma/seminar_testimonial.html:34
-#: templates/teleforma/seminar_testimonial_presence.html:34
+#: templates/teleforma/seminar_testimonial_knowledge.html:34
msgid "Last name"
msgstr "Nom"
#: templates/teleforma/seminar_testimonial.html:35
-#: templates/teleforma/seminar_testimonial_presence.html:35
+#: templates/teleforma/seminar_testimonial_knowledge.html:35
msgid "First name"
msgstr "Prénom"
msgstr "Type de formation"
#: templates/teleforma/seminar_testimonial.html:40
-#: templates/teleforma/seminar_testimonial_presence.html:39
+#: templates/teleforma/seminar_testimonial_knowledge.html:39
#: templates/teleforma/inc/media_package_list.html:38
msgid "Duration"
msgstr "Durée"
#: templates/teleforma/seminar_testimonial.html:40
+#: templates/teleforma/seminar_testimonial_knowledge.html:39
#: templates/teleforma/seminar_testimonial_payback.html:95
-#: templates/teleforma/seminar_testimonial_presence.html:39
#: templates/teleforma/inc/seminar_description.html:12
msgid "hours"
msgstr "heures"
#: templates/teleforma/seminar_testimonial.html:41
-#: templates/teleforma/seminar_testimonial_presence.html:41
+#: templates/teleforma/seminar_testimonial_knowledge.html:41
msgid "Training begin date"
msgstr "Date de début de formation"
#: templates/teleforma/seminar_testimonial.html:42
-#: templates/teleforma/seminar_testimonial_presence.html:44
+#: templates/teleforma/seminar_testimonial_knowledge.html:44
msgid "Training end date"
msgstr "Date de fin de formation"
-#: templates/teleforma/seminar_testimonial_payback.html:90
-#: templates/telemeta/search_criteria.html:120
-#: templates/telemeta/search_criteria.html:139
-msgid "to"
-msgstr "au"
-
-#: templates/teleforma/seminar_testimonial_presence.html:28
+#: templates/teleforma/seminar_testimonial_knowledge.html:28
#: templates/teleforma/testimonials.html:69
-msgid "Remote presence testimonial"
-msgstr "Attestation de suivi à distance"
+msgid "Knowledge validation testimonial"
+msgstr "Attestation de validation des acquis"
-#: templates/teleforma/seminar_testimonial_presence.html:40
+#: templates/teleforma/seminar_testimonial_knowledge.html:40
msgid "Validation mode of the training"
msgstr "Mode de validation des acquis de la formation"
-#: templates/teleforma/seminar_testimonial_presence.html:40
+#: templates/teleforma/seminar_testimonial_knowledge.html:40
msgid "Reply to questions"
msgstr "Réalisation de consultations juridiques fictives"
-#: templates/teleforma/seminar_testimonial_presence.html:42
+#: templates/teleforma/seminar_testimonial_knowledge.html:42
msgid "Knowledge validation dates"
msgstr "Date de validation des acquis"
+#: templates/teleforma/seminar_testimonial_payback.html:90
+msgid "until"
+msgstr "au"
+
#: templates/teleforma/seminars.html:116
msgid "Access"
msgstr "Accéder"
msgid "Year of recording"
msgstr ""
+#: templates/telemeta/search_criteria.html:120
+#: templates/telemeta/search_criteria.html:139
+msgid "to"
+msgstr ""
+
#: templates/telemeta/search_criteria.html:132
msgid "Year of publication"
msgstr "année de publication"
msgid "You have successfully submitted your evaluation"
msgstr "Vous avez soumis votre évaluation avec succès"
-#~ msgid "until"
-#~ msgstr "au"
+#~ msgid "Remote presence testimonial"
+#~ msgstr "Attestation de suivi à distance"
#~ msgid "Subtitle"
#~ msgstr "Sous-titre"
--- /dev/null
+<!DOCTYPE html>
+{% load i18n %}
+{% load telemeta_utils %}
+{% load teleforma_tags %}
+
+{% get_current_language as LANGUAGE_CODE %}
+{% get_available_languages as LANGUAGES %}
+<html xmlns="http://www.w3.org/1999/xhtml" lang="{{ LANGUAGE_CODE }}" xml:lang="{{ LANGUAGE_CODE }}" {% if LANGUAGE_BIDI %}dir="rtl"{% endif %}>
+
+<head>
+<meta http-equiv="Content-type" content="text/html;charset=UTF-8" />
+
+<title>{%block head_title %}{% description %} - {% trans "Testimonial" %}{% endblock %}</title>
+
+{% block stylesheets %}
+<link rel="stylesheet" type="text/css" href="{{ STATIC_URL }}teleforma/css/teleforma_pdf.css" />
+{% endblock %}
+
+{% block extra_stylesheets %}{% endblock %}
+
+</head>
+
+<body>
+{% block layout %}
+<div id="layout">
+
+<div id="header">
+ <span style="color: yellow; font-weight: bold;">></span> {% trans "Knowledge validation testimonial" %}
+</div>
+
+<div id="content">
+
+ <table class="table1">
+ <tr><td class="bold">{% trans "Last name" %} : </td><td>{{ testimonial.user.last_name|upper }}</td></tr>
+ <tr><td class="bold">{% trans "First name" %} : </td><td>{{ testimonial.user.first_name|upper }}</td></tr>
+ <tr><td class="bold">{% trans "Address" %} : </td><td>{{ testimonial.user.auditor.all.0.address }} {{ testimonial.user.auditor.all.0.postal_code }} {{ testimonial.user.auditor.all.0.city }}</td></tr>
+ <tr><td class="bold">{% trans "Subject" %} : </td><td>{{ seminar.title }}</td></tr>
+ <tr><td class="bold">{% trans "Course" %} : </td><td>{{ seminar.course }}</td></tr>
+ <tr><td class="bold">{% trans "Duration" %} : </td><td>{{ seminar.duration|hours }} {% trans "hours" %}</td></tr>
+ <tr><td class="bold">{% trans "Validation mode of the training" %} : </td><td>{% trans "Reply to questions" %}</td></tr>
+ <tr><td class="bold">{% trans "Training begin date" %} : </td><td>{{ first_revision.date|date:'j F Y' }}</td></tr>
+ <tr><td class="bold">{% trans "Knowledge validation dates" %} : </td><td></td></tr>
+ {% for answer in answers %}<tr><td style="padding-left:10px;">{% trans "Answer" %} n°{{ answer.question.rank }} : </td><td>{{ answer.date_validated|date:'j F Y' }}</td></tr>{% endfor %}
+ <tr><td class="bold">{% trans "Training end date" %} : </td><td>{% if testimonial.date_modified %}{{ testimonial.date_modified|date:'j F Y' }}{% else %}{{ testimonial.date_added|date:'j F Y' }}{% endif %}</td></tr>
+ </table>
+
+ <table class="table2">
+ <tr><td>
+ {{ seminar.course.department.address|safe }}
+ </td>
+ <td>
+ <img src="{{ seminar.course.department.signature.url }}" title="Pro-Barreau signature" alt="Pro-Barreau signature" />
+ </td></tr>
+ </table>
+
+</div>
+
+{% block footer %}
+<div id="footer">
+ Copyright © {% current_year %} {{ seminar.course.department }}
+ </div>
+{% endblock %}
+
+</div>
+{% endblock layout %}
+
+</body>
+</html>
@frame price-ht {
-pdf-frame-content: price-ht;
- top: 730px;
+ top: 729px;
left: 377px;
}
@frame price-ttc {
-pdf-frame-content: price-ttc;
- top: 730px;
+ top: 729px;
left: 477px;
}
<div id="dates">
- {{ first_revision.date|date:'j F Y' }} {% trans "to" %} {% if testimonial.date_modified %}{{ testimonial.date_modified|date:'j F Y' }}{% else %}{{ testimonial.date_added|date:'j F Y' }}{% endif %}
+ {{ first_revision.date|date:'j F Y' }} {% trans "until" %} {% if testimonial.date_modified %}{{ testimonial.date_modified|date:'j F Y' }}{% else %}{{ testimonial.date_added|date:'j F Y' }}{% endif %}
</div>
<div id="price-ht">
- {{ seminar.price }}
+ {{ seminar.price|integer }}
</div>
<div id="price-ttc">
- {{ seminar.price }}
+ {{ seminar.price|integer }}
</div>
+++ /dev/null
-<!DOCTYPE html>
-{% load i18n %}
-{% load telemeta_utils %}
-{% load teleforma_tags %}
-
-{% get_current_language as LANGUAGE_CODE %}
-{% get_available_languages as LANGUAGES %}
-<html xmlns="http://www.w3.org/1999/xhtml" lang="{{ LANGUAGE_CODE }}" xml:lang="{{ LANGUAGE_CODE }}" {% if LANGUAGE_BIDI %}dir="rtl"{% endif %}>
-
-<head>
-<meta http-equiv="Content-type" content="text/html;charset=UTF-8" />
-
-<title>{%block head_title %}{% description %} - {% trans "Testimonial" %}{% endblock %}</title>
-
-{% block stylesheets %}
-<link rel="stylesheet" type="text/css" href="{{ STATIC_URL }}teleforma/css/teleforma_pdf.css" />
-{% endblock %}
-
-{% block extra_stylesheets %}{% endblock %}
-
-</head>
-
-<body>
-{% block layout %}
-<div id="layout">
-
-<div id="header">
- <span style="color: yellow; font-weight: bold;">></span> {% trans "Remote presence testimonial" %}
-</div>
-
-<div id="content">
-
- <table class="table1">
- <tr><td class="bold">{% trans "Last name" %} : </td><td>{{ testimonial.user.last_name|upper }}</td></tr>
- <tr><td class="bold">{% trans "First name" %} : </td><td>{{ testimonial.user.first_name|upper }}</td></tr>
- <tr><td class="bold">{% trans "Address" %} : </td><td>{{ testimonial.user.auditor.all.0.address }} {{ testimonial.user.auditor.all.0.postal_code }} {{ testimonial.user.auditor.all.0.city }}</td></tr>
- <tr><td class="bold">{% trans "Subject" %} : </td><td>{{ seminar.title }}</td></tr>
- <tr><td class="bold">{% trans "Course" %} : </td><td>{{ seminar.course }}</td></tr>
- <tr><td class="bold">{% trans "Duration" %} : </td><td>{{ seminar.duration|hours }} {% trans "hours" %}</td></tr>
- <tr><td class="bold">{% trans "Validation mode of the training" %} : </td><td>{% trans "Reply to questions" %}</td></tr>
- <tr><td class="bold">{% trans "Training begin date" %} : </td><td>{{ first_revision.date|date:'j F Y' }}</td></tr>
- <tr><td class="bold">{% trans "Knowledge validation dates" %} : </td><td></td></tr>
- {% for answer in answers %}<tr><td style="padding-left:10px;">{% trans "Answer" %} n°{{ answer.question.rank }} : </td><td>{{ answer.date_validated|date:'j F Y' }}</td></tr>{% endfor %}
- <tr><td class="bold">{% trans "Training end date" %} : </td><td>{% if testimonial.date_modified %}{{ testimonial.date_modified|date:'j F Y' }}{% else %}{{ testimonial.date_added|date:'j F Y' }}{% endif %}</td></tr>
- </table>
-
- <table class="table2">
- <tr><td>
- {{ seminar.course.department.address|safe }}
- </td>
- <td>
- <img src="{{ seminar.course.department.signature.url }}" title="Pro-Barreau signature" alt="Pro-Barreau signature" />
- </td></tr>
- </table>
-
-</div>
-
-{% block footer %}
-<div id="footer">
- Copyright © {% current_year %} {{ seminar.course.department }}
- </div>
-{% endblock %}
-
-</div>
-{% endblock layout %}
-
-</body>
-</html>
</tr>
<tr>
- <td><a href="{% url teleforma-seminar-testimonial-presence testimonial.seminar.id %}?format=pdf" target="_blank"><img src="{{ STATIC_URL }}/teleforma/images/application-msword.png" style="vertical-align:middle" alt="" /> {% trans "Remote presence testimonial" %}</a></td>
+ <td><a href="{% url teleforma-seminar-testimonial-knowledge testimonial.seminar.id %}?format=pdf" target="_blank"><img src="{{ STATIC_URL }}/teleforma/images/application-msword.png" style="vertical-align:middle" alt="" /> {% trans "Knowledge validation testimonial" %}</a></td>
<td>{% trans "validated on" %} {{ testimonial.date_added }}</td>
- <td><a href="{% url teleforma-seminar-testimonial-presence testimonial.seminar.id %}?format=pdf" target="_blank"><img src="{{ STATIC_URL }}teleforma/images/download.png" style="vertical-align:middle" alt="" title="{% trans "Download" %}" /></a></td>
+ <td><a href="{% url teleforma-seminar-testimonial-knowledge testimonial.seminar.id %}?format=pdf" target="_blank"><img src="{{ STATIC_URL }}teleforma/images/download.png" style="vertical-align:middle" alt="" title="{% trans "Download" %}" /></a></td>
</tr>
<tr>
return ' (' + str(len(answers)) + ')'
else:
return ''
+
+@register.filter
+def integer(value):
+ return int(value)
\ No newline at end of file
name="teleforma-seminar-testimonial-download"),
url(r'^desk/testimonials/$', TestimonialListView.as_view(),
name="teleforma-testimonials"),
- url(r'^desk/seminars/(?P<pk>.*)/testimonial-presence/$', TestimonialPresenceView.as_view(),
- name="teleforma-seminar-testimonial-presence"),
+ url(r'^desk/seminars/(?P<pk>.*)/testimonial-knowledge/$', TestimonialKnowledgeView.as_view(),
+ name="teleforma-seminar-testimonial-knowledge"),
url(r'^desk/seminars/(?P<pk>.*)/testimonial-payback/$', TestimonialPaybackView.as_view(),
name="teleforma-seminar-testimonial-payback"),
return super(TestimonialListView, self).dispatch(*args, **kwargs)
-class TestimonialPresenceView(TestimonialView):
+class TestimonialKnowledgeView(TestimonialView):
- template_name = 'teleforma/seminar_testimonial_presence.html'
+ template_name = 'teleforma/seminar_testimonial_knowledge.html'
pdf_template_name = template_name
def get_context_data(self, **kwargs):
- context = super(TestimonialPresenceView, self).get_context_data(**kwargs)
+ context = super(TestimonialKnowledgeView, self).get_context_data(**kwargs)
seminar = context['seminar']
context['answers'] = Answer.objects.filter(question__in=seminar.question.all(),
user=self.request.user,
@method_decorator(login_required)
def dispatch(self, *args, **kwargs):
- return super(TestimonialPresenceView, self).dispatch(*args, **kwargs)
+ return super(TestimonialKnowledgeView, self).dispatch(*args, **kwargs)
class TestimonialPaybackView(TestimonialView):