show POS links in backoffice only for orga, bar and infoteam, show proxy link only to orga

This commit is contained in:
Thomas Steen Rasmussen 2021-08-10 08:35:59 +02:00
parent 5162a54a2d
commit 2968afb1e0

View file

@ -155,6 +155,10 @@
<h4 class="list-group-item-heading">Webshop Ticket Stats</h4> <h4 class="list-group-item-heading">Webshop Ticket Stats</h4>
<p class="list-group-item-text">Use this view to see stats for tickets created from webshop sales. This includes tickets for people (adults and children, full week and oneday tickets), merchandise, village gear, parking and so on. This view does not include sponsor tickets.</p> <p class="list-group-item-text">Use this view to see stats for tickets created from webshop sales. This includes tickets for people (adults and children, full week and oneday tickets), merchandise, village gear, parking and so on. This view does not include sponsor tickets.</p>
</a> </a>
<a href="{% url 'backoffice:proxy' camp_slug=camp.slug %}" class="list-group-item">
<h4 class="list-group-item-heading">Proxied Content</h4>
<p class="list-group-item-text">Use this view to see proxied content</p>
</a>
{% endif %} {% endif %}
{% if perms.camps.economyteam_permission %} {% if perms.camps.economyteam_permission %}
@ -177,12 +181,7 @@
</a> </a>
{% endif %} {% endif %}
<h3>External Content</h3> {% if perms.camps.orgateam_permission or perms.camps.infoteam_permission or perms.camps.barteam_permission %}
<a href="{% url 'backoffice:proxy' camp_slug=camp.slug %}" class="list-group-item">
<h4 class="list-group-item-heading">Proxied Content</h4>
<p class="list-group-item-text">Use this view to see proxied content</p>
</a>
<h3>Point of Sale</h3> <h3>Point of Sale</h3>
<a href="{% url 'backoffice:pos_list' camp_slug=camp.slug %}" class="list-group-item"> <a href="{% url 'backoffice:pos_list' camp_slug=camp.slug %}" class="list-group-item">
<h4 class="list-group-item-heading">Point of Sale</h4> <h4 class="list-group-item-heading">Point of Sale</h4>