Show "create team" button to everyone who can

This commit is contained in:
Raphael Michel
2017-06-27 08:57:58 +02:00
parent 1bcca566ab
commit ea2557274f

View File

@@ -5,12 +5,10 @@
<p>
{% trans "The list below shows all teams that exist within this organizer." %}
</p>
{% if request.user.is_superuser %}
<a href="{% url "control:organizer.team.add" organizer=request.organizer.slug %}" class="btn btn-default">
<span class="fa fa-plus"></span>
{% trans "Create a new team" %}
</a>
{% endif %}
<a href="{% url "control:organizer.team.add" organizer=request.organizer.slug %}" class="btn btn-default">
<span class="fa fa-plus"></span>
{% trans "Create a new team" %}
</a>
<table class="table table-condensed table-hover">
<thead>
<tr>