|
24 | 24 | <li class="nav__link{{ menuActive == 'workstation'? ' active' }}">
|
25 | 25 | <a title="{% trans %}Die Oberfläche für den Sachberarbeiter mit der Möglichkeit, Kunden aufzurufen{% endtrans %}" href="{{ urlGet('workstation', {}, {}) }}" {{ menuActive == 'workstation'? ' aria-current="page"' }}>Sach­bearbeiter­platz</a>
|
26 | 26 | </li>
|
27 |
| - <li class="nav__link{{ menuActive == 'pickup'? ' active' }}"> |
28 |
| - <a title="{% trans %}Hier verwalten Sie die Abholer{% endtrans %}" href="{{ urlGet('pickup', {'id':1}, {}) }}" {{ menuActive == 'pickup'? ' aria-current="page"' }}>Abholer verwalten</a> |
29 |
| - </li> |
| 27 | + {% if workstation.useraccount.rights.superuser %} |
| 28 | + <li class="nav__link{{ menuActive == 'pickup'? ' active' }}"> |
| 29 | + <a title="{% trans %}Hier verwalten Sie die Abholer{% endtrans %}" href="{{ urlGet('pickup', {'id':1}, {}) }}" {{ menuActive == 'pickup'? ' aria-current="page"' }}>Abholer verwalten</a> |
| 30 | + </li> |
| 31 | + {% endif %} |
30 | 32 | {% endif %}
|
31 | 33 | {% if rights.ticketprinter and workstation.scope.id %}
|
32 |
| - <li class="nav__link{{ menuActive == 'calldisplay'? ' active' }}"> |
33 |
| - <a title="{% trans %}Standortauswahlseite der Aufrufanlage{% endtrans %}" href="{{ urlGet('calldisplay', {}, {}) }}" {{ menuActive == 'calldisplay'? ' aria-current="page"' }}>Anzeige Aufrufsystem</a> |
34 |
| - </li> |
35 |
| - <li class="nav__link{{ menuActive == 'ticketprinter'? ' active' }}"> |
36 |
| - <a title="{% trans %}Standortauswahlseite der Wartenummernausgabe{% endtrans %}" href="{{ urlGet('ticketprinter', {}, {}) }}" {{ menuActive == 'ticketprinter'? ' aria-current="page"' }}>Wartenummern</a> |
37 |
| - </li> |
| 34 | + {% if workstation.useraccount.rights.superuser %} |
| 35 | + <li class="nav__link{{ menuActive == 'calldisplay'? ' active' }}"> |
| 36 | + <a title="{% trans %}Standortauswahlseite der Aufrufanlage{% endtrans %}" href="{{ urlGet('calldisplay', {}, {}) }}" {{ menuActive == 'calldisplay'? ' aria-current="page"' }}>Anzeige Aufrufsystem</a> |
| 37 | + </li> |
| 38 | + <li class="nav__link{{ menuActive == 'ticketprinter'? ' active' }}"> |
| 39 | + <a title="{% trans %}Standortauswahlseite der Wartenummernausgabe{% endtrans %}" href="{{ urlGet('ticketprinter', {}, {}) }}" {{ menuActive == 'ticketprinter'? ' aria-current="page"' }}>Wartenummern</a> |
| 40 | + </li> |
| 41 | + {% endif %} |
38 | 42 | {% endif %}
|
39 | 43 | </ul>
|
40 | 44 | </nav>
|
|
97 | 101 | <nav role="navigation" aria-labelledby="admin-title">
|
98 | 102 | <ul class="nav__list">
|
99 | 103 | {% if workstation.id > 0 %}
|
100 |
| - <li class="nav__link{{ menuActive == 'profile'? ' active' }}"> |
101 |
| - <a title="{% trans %}Hier können Sie Ihre eigenen Anmeldedaten einsehen und sich ein neues Passwort geben{% endtrans %}" {{ menuActive == 'profile'? ' aria-current="page"' }} href="{{ urlGet('profile', {}, {}) }}">Mein Profil</a> |
102 |
| - </li> |
| 104 | + {% if workstation.useraccount.rights.superuser %} |
| 105 | + <li class="nav__link{{ menuActive == 'profile'? ' active' }}"> |
| 106 | + <a title="{% trans %}Hier können Sie Ihre eigenen Anmeldedaten einsehen und sich ein neues Passwort geben{% endtrans %}" {{ menuActive == 'profile'? ' aria-current="page"' }} href="{{ urlGet('profile', {}, {}) }}">Mein Profil</a> |
| 107 | + </li> |
| 108 | + {% endif %} |
103 | 109 | {% endif %}
|
104 | 110 | {% if workstation.scope.id and rights.ticketprinter %}
|
| 111 | + {% if workstation.useraccount.rights.superuser %} |
105 | 112 | <li class="nav__link{{ menuActive == 'ticketprinterStatus'? ' active' }}">
|
106 | 113 | <a {{ menuActive == 'ticketprinterStatus'? ' aria-current="page"' }} href="{{ urlGet('ticketprinterStatusByScope', {'id': workstation.scope.id}, {}) }}">
|
107 | 114 | Wartenummern­ausgabe am Kiosk ({% if workstation.scope.status.ticketprinter.deactivated %}
|
|
111 | 118 | {% endif %})
|
112 | 119 | </a>
|
113 | 120 | </li>
|
| 121 | + {% endif %} |
114 | 122 | {% endif %}
|
115 | 123 | {% if rights.scope or rights.department or rights.organisation or rights.availability %}
|
116 | 124 | <li class="nav__link{{ menuActive == 'owner'? ' active' }}">
|
|
0 commit comments