1
0
mirror of https://gitlab.com/animath/si/plateforme.git synced 2025-08-18 00:48:41 +02:00

Register new organizers

This commit is contained in:
Yohann D'ANELLO
2021-01-14 21:07:09 +01:00
parent 1a7a411e10
commit 3e7ff21746
7 changed files with 179 additions and 41 deletions

View File

@@ -1,7 +1,14 @@
{% extends "base.html" %}
{% load django_tables2 %}
{% load django_tables2 i18n %}
{% block content %}
{% if user.registration.is_admin %}
<button href="{% url "registration:add_organizer" %}" class="btn btn-block btn-secondary">
<i class="fas fa-user-plus"></i> {% trans "Add organizer" %}
</button>
<hr>
{% endif %}
{% render_table table %}
{% endblock %}