a383a4305b
- Fixed #737 (Motion edit link is missing for normal delegate users) - Fixed motion pdf filename errors (now use motion-<identifier>.pdf or if no identifier: motion-<title>.pdf with using djangos slugify for special chars in title) - Fixed motion pdf build error if there is an unauthorized version - Enlarge max_length of event name field to 50 chars. - Align participant import instruction with motion import page. - Added title field to particpants-demo_en.csv. - participant overview: Show comma after last_name only if first_name and last_name are given. - Changed all page titles to "<specific action page> - <event-name>" (moved event-name to the end of the string) - Updated EN tranlation string. - Updated DE translations.
38 lines
1.1 KiB
HTML
38 lines
1.1 KiB
HTML
{% extends 'base.html' %}
|
||
|
||
{% load i18n %}
|
||
|
||
{% block title %}
|
||
{% if mediafile %}
|
||
{% trans "Edit file" %}
|
||
{% else %}
|
||
{% trans "New file" %}
|
||
{% endif %}
|
||
– {{ block.super }}
|
||
{% endblock %}
|
||
|
||
{% block content %}
|
||
<h1>
|
||
{% if mediafile %}
|
||
{% trans "Edit file" %}
|
||
{% else %}
|
||
{% trans "New file" %}
|
||
{% endif %}
|
||
<small class="pull-right">
|
||
<a href="{% url 'mediafile_list' %}" class="btn btn-mini"><i class="icon-chevron-left"></i> {% trans "Back to overview" %}</a>
|
||
</small>
|
||
</h1>
|
||
<form action="" method="post" enctype="multipart/form-data">{% csrf_token %}
|
||
{% include "form.html" %}
|
||
<p>
|
||
{% if perms.mediafile.can_manage %}
|
||
{% include "formbuttons_saveapply.html" %}
|
||
{% else %}
|
||
{% include "formbuttons_save.html" %}
|
||
{% endif %}
|
||
<a href="{% url 'mediafile_list' %}" class="btn">{% trans 'Cancel' %}</a>
|
||
</p>
|
||
<small>* {% trans "required" %}</small>
|
||
</form>
|
||
{% endblock %}
|