feat(ui): Add Integracje link to user menu and account sidebar
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
Users with a company can now access /konto/integracje from the user dropdown menu and from the account settings sidebar navigation. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
5616ae8561
commit
467a81a03d
@ -1336,6 +1336,14 @@
|
||||
</svg>
|
||||
Moje konto
|
||||
</a>
|
||||
{% if current_user.company_id %}
|
||||
<a href="{{ url_for('auth.konto_integracje') }}" class="user-menu-item">
|
||||
<svg width="16" height="16" fill="none" stroke="currentColor" viewBox="0 0 24 24">
|
||||
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M13.828 10.172a4 4 0 00-5.656 0l-4 4a4 4 0 105.656 5.656l1.102-1.101m-.758-4.899a4 4 0 005.656 0l4-4a4 4 0 00-5.656-5.656l-1.1 1.1"/>
|
||||
</svg>
|
||||
Integracje
|
||||
</a>
|
||||
{% endif %}
|
||||
{% if not current_user.company_id %}
|
||||
<a href="{{ url_for('membership.apply') }}" class="user-menu-item" style="color: var(--primary);">
|
||||
<svg width="16" height="16" fill="none" stroke="currentColor" viewBox="0 0 24 24">
|
||||
|
||||
@ -217,6 +217,14 @@
|
||||
</svg>
|
||||
Blokady
|
||||
</a>
|
||||
{% if current_user.company_id %}
|
||||
<a href="{{ url_for('auth.konto_integracje') }}">
|
||||
<svg fill="none" stroke="currentColor" stroke-width="2" viewBox="0 0 24 24">
|
||||
<path d="M13.828 10.172a4 4 0 00-5.656 0l-4 4a4 4 0 105.656 5.656l1.102-1.101m-.758-4.899a4 4 0 005.656 0l4-4a4 4 0 00-5.656-5.656l-1.1 1.1"/>
|
||||
</svg>
|
||||
Integracje
|
||||
</a>
|
||||
{% endif %}
|
||||
</nav>
|
||||
</aside>
|
||||
|
||||
|
||||
@ -289,6 +289,14 @@
|
||||
</svg>
|
||||
Blokady
|
||||
</a>
|
||||
{% if current_user.company_id %}
|
||||
<a href="{{ url_for('auth.konto_integracje') }}">
|
||||
<svg fill="none" stroke="currentColor" stroke-width="2" viewBox="0 0 24 24">
|
||||
<path d="M13.828 10.172a4 4 0 00-5.656 0l-4 4a4 4 0 105.656 5.656l1.102-1.101m-.758-4.899a4 4 0 005.656 0l4-4a4 4 0 00-5.656-5.656l-1.1 1.1"/>
|
||||
</svg>
|
||||
Integracje
|
||||
</a>
|
||||
{% endif %}
|
||||
</nav>
|
||||
</aside>
|
||||
|
||||
|
||||
@ -266,6 +266,14 @@
|
||||
</svg>
|
||||
Blokady
|
||||
</a>
|
||||
{% if current_user.company_id %}
|
||||
<a href="{{ url_for('auth.konto_integracje') }}">
|
||||
<svg fill="none" stroke="currentColor" stroke-width="2" viewBox="0 0 24 24">
|
||||
<path d="M13.828 10.172a4 4 0 00-5.656 0l-4 4a4 4 0 105.656 5.656l1.102-1.101m-.758-4.899a4 4 0 005.656 0l4-4a4 4 0 00-5.656-5.656l-1.1 1.1"/>
|
||||
</svg>
|
||||
Integracje
|
||||
</a>
|
||||
{% endif %}
|
||||
<div style="border-top: 1px solid var(--border); margin: var(--spacing-md) 0; padding-top: var(--spacing-md);">
|
||||
<div style="font-size: 11px; color: var(--text-secondary); margin-bottom: var(--spacing-xs); text-transform: uppercase; letter-spacing: 0.5px;">Członkostwo</div>
|
||||
</div>
|
||||
|
||||
@ -267,6 +267,14 @@
|
||||
</svg>
|
||||
Blokady
|
||||
</a>
|
||||
{% if current_user.company_id %}
|
||||
<a href="{{ url_for('auth.konto_integracje') }}">
|
||||
<svg fill="none" stroke="currentColor" stroke-width="2" viewBox="0 0 24 24">
|
||||
<path d="M13.828 10.172a4 4 0 00-5.656 0l-4 4a4 4 0 105.656 5.656l1.102-1.101m-.758-4.899a4 4 0 005.656 0l4-4a4 4 0 00-5.656-5.656l-1.1 1.1"/>
|
||||
</svg>
|
||||
Integracje
|
||||
</a>
|
||||
{% endif %}
|
||||
</nav>
|
||||
</aside>
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user