mirror of
https://github.com/pretix/pretix.git
synced 2026-05-06 15:24:02 +00:00
Show "create team" button to everyone who can
This commit is contained in:
@@ -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>
|
||||||
|
|||||||
Reference in New Issue
Block a user