install app files for baker-street-corporate-member-zone==0.0.1

This commit is contained in:
2018-03-20 14:12:55 +00:00
parent b53bcc1b5e
commit 5ef44f537b
26 changed files with 698 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
{% extends "admin/change_form.html" %}
{% load admin_urls %}
{% block object-tools-items %}
{% if original.fields.count > 0 %}
<li>
<a href="{% url opts|admin_urlname:'participants_export' original.pk %}">Teilnehmerliste Herunterladen (xls)</a>
</li>
{% endif %}
{{ block.super }}
{% endblock %}

View File

@@ -0,0 +1,10 @@
{% extends "admin/change_form.html" %}
{% load admin_urls %}
{% block object-tools-items %}
{% if not original.is_approved %}
<li>
<a href="{% url opts|admin_urlname:'approve' original.pk %}">Benutzer Freigeben</a>
</li>
{% endif %}
{{ block.super }}
{% endblock %}