Hide Korzyści link for non-admins (test mode)
Some checks are pending
NordaBiz Tests / Unit & Integration Tests (push) Waiting to run
NordaBiz Tests / E2E Tests (Playwright) (push) Blocked by required conditions
NordaBiz Tests / Smoke Tests (Production) (push) Blocked by required conditions
NordaBiz Tests / Send Failure Notification (push) Blocked by required conditions
Some checks are pending
NordaBiz Tests / Unit & Integration Tests (push) Waiting to run
NordaBiz Tests / E2E Tests (Playwright) (push) Blocked by required conditions
NordaBiz Tests / Smoke Tests (Production) (push) Blocked by required conditions
NordaBiz Tests / Send Failure Notification (push) Blocked by required conditions
This commit is contained in:
parent
22fdac91cd
commit
e26c760907
@ -1105,8 +1105,10 @@
|
||||
|
||||
<li><a href="{{ url_for('education.education_index') }}" class="nav-link {% if request.endpoint and 'education' in request.endpoint %}active{% endif %}">Edukacja</a></li>
|
||||
|
||||
<!-- Korzyści członkowskie -->
|
||||
<!-- Korzyści członkowskie (tylko dla adminów w trybie testowym) -->
|
||||
{% if current_user.can_access_admin_panel() %}
|
||||
<li><a href="{{ url_for('benefits.benefits_list') }}" class="nav-link {% if request.endpoint and 'benefits' in request.endpoint %}active{% endif %}">Korzyści</a></li>
|
||||
{% endif %}
|
||||
|
||||
<!-- Więcej Dropdown -->
|
||||
<li class="nav-dropdown">
|
||||
|
||||
Loading…
Reference in New Issue
Block a user