2012-09-06 22:41:24 +02:00
{% extends "base.html" %}
2012-02-09 16:57:10 +01:00
{% load i18n %}
2013-06-14 20:24:48 +02:00
{% block title %}{% trans "Import participants" %} – {{ block.super }}{% endblock %}
2011-07-31 10:46:29 +02:00
{% block content %}
2012-09-06 22:41:24 +02:00
< h1 >
{% trans 'Import participants' %}
< small class = "pull-right" >
2013-01-05 15:29:57 +01:00
< a href = "{% url 'user_overview' %}" class = "btn btn-mini" > < i class = "icon-chevron-left" > < / i > {% trans "Back to overview" %}< / a >
2012-09-06 22:41:24 +02:00
< / small >
< / h1 >
2013-06-14 20:24:48 +02:00
< p > {% trans 'Select a CSV file to import participants' %}.< / p >
2013-04-09 11:21:55 +02:00
< p > {% trans 'Please note' %}:< / p >
< ul >
< li >
{% trans 'Required comma separated values' %}:< br >
< code > ({% trans 'title, first name, last name, gender, email, group id, structure level, committee, about me, comment, is active' %})< / code >
< / li >
< li >
{% trans 'Default groups' %}:
{% trans 'Delegate' %} (< code > 3< / code > ), {% trans 'Staff' %} (< code > 4< / code > )
< / li >
2013-06-14 20:24:48 +02:00
< li >
{% trans 'At least first name or last name have to filled in. All other fields are optional and may be empty.' %}
< / li >
< li > {% trans 'The first line (header) is ignored' %}.< / li >
< li >
{% trans 'Required CSV file encoding is UTF-8' %}.
< / li >
2013-04-09 11:21:55 +02:00
< li > < a href = "https://github.com/OpenSlides/OpenSlides/wiki/CSV-Import" target = "_blank" > {% trans 'Use the CSV example file from OpenSlides Wiki.' %}< / a > < / li >
< / ul >
2012-04-15 10:07:45 +02:00
2011-07-31 10:46:29 +02:00
< form enctype = "multipart/form-data" action = "" method = "post" > {% csrf_token %}
2012-09-06 22:41:24 +02:00
{% include "form.html" %}
2012-04-26 17:50:46 +02:00
< p >
2012-09-06 22:41:24 +02:00
< button class = "btn btn-primary" type = "submit" >
2012-07-16 14:00:29 +02:00
< span class = "icon import" > {% trans 'Import' %}< / span >
2011-07-31 10:46:29 +02:00
< / button >
2013-01-05 15:29:57 +01:00
< a href = "{% url 'user_overview' %}" class = "btn" >
2012-09-06 22:41:24 +02:00
{% trans 'Cancel' %}
2011-07-31 10:46:29 +02:00
< / a >
2012-04-26 17:50:46 +02:00
< / p >
2012-04-27 08:02:01 +02:00
< small > * {% trans "required" %}< / small >
2011-07-31 10:46:29 +02:00
< / form >
{% endblock %}