From 84e5b3d0615b0328deb648254d44da5a4262e83d Mon Sep 17 00:00:00 2001 From: Emanuel Schuetze Date: Mon, 2 Apr 2012 08:36:22 +0200 Subject: [PATCH] #82: Merged fix of r364 from default branch into 1.2-dev branch. --- openslides/participant/models.py | 1 + openslides/participant/templates/participant/import.html | 4 +++- .../participant/templates/participant/overview.html | 6 ++---- openslides/participant/views.py | 8 +++++--- 4 files changed, 11 insertions(+), 8 deletions(-) diff --git a/openslides/participant/models.py b/openslides/participant/models.py index 32c06d3a3..1442a5b0a 100644 --- a/openslides/participant/models.py +++ b/openslides/participant/models.py @@ -34,6 +34,7 @@ class Profile(models.Model): group = models.CharField(max_length=100, null=True, blank=True, verbose_name = _("Group")) type = models.CharField(max_length=100, choices=TYPE_CHOICE, blank=True, verbose_name = _("Typ")) committee = models.CharField(max_length=100, null=True, blank=True, verbose_name = _("Committee")) + comment = models.CharField(max_length=255, null=True, blank=True, verbose_name = _("Comment")) firstpassword = models.CharField(max_length=100, null=True, blank=True, verbose_name = _("First Password")) diff --git a/openslides/participant/templates/participant/import.html b/openslides/participant/templates/participant/import.html index 369e78572..870fc3484 100644 --- a/openslides/participant/templates/participant/import.html +++ b/openslides/participant/templates/participant/import.html @@ -8,7 +8,9 @@

{% trans 'Import participants' %}

{% trans 'Select a CSV file to import participants!' %}

-

{% trans '(Required comma separated values: first_name, last_name, gender, group, type, committee)' %}

+

{% trans 'Required comma separated values: first_name, last_name, gender, group, type, committee, comment' %}
+ {% trans 'CSV file encoding: UTF-8 (Unicode).' %} +

{% csrf_token %} {{ form.as_p }}