forked from TagesschuleElementa/www.tagesschule-elementa.ch
install app files for baker-street-corporate-member-zone==0.0.1
This commit is contained in:
@@ -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 %}
|
||||
10
templates/admin/corporate_member_zone/user/change_form.html
Normal file
10
templates/admin/corporate_member_zone/user/change_form.html
Normal 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 %}
|
||||
Reference in New Issue
Block a user