Registrations: view to uncheck apply_reduced_fee while accepting
Some checks failed
buildbot/tox Build done.

This commit is contained in:
2020-12-16 17:28:40 +01:00
parent d3d63097db
commit b44f6df32e
9 changed files with 171 additions and 22 deletions

View File

@@ -272,10 +272,17 @@ Das musst du selbst (per E-Mail oder telefonisch) machen.
{% csrf_token %}
<input type="hidden" name="registration" value="{{ registration.id }}">
{% if has_permission_update_participants %}
{% if registration.apply_reduced_fee %}
<a href="{% url 'dav_events:respond_registration' registration.pk %}"
class="btn btn-link no-padding" title="zur Teilnehmerliste hinzufügen">
<span class="text-success">{% bootstrap_icon 'plus-sign' %}</span>
</a>
{% else %}
<button type="submit" name="action" value="accept_registration"
class="btn btn-link no-padding" title="zur Teilnehmerliste hinzufügen">
<span class="text-success">{% bootstrap_icon 'plus-sign' %}</span>
</button>
{% endif %}
&nbsp;
<button type="submit" name="action" value="reject_registration"
class="btn btn-link no-padding" title="Anmeldung löschen">