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