Add partner client registration menu
This commit is contained in:
@@ -10,6 +10,7 @@
|
|||||||
<div class="flex flex-wrap gap-3">
|
<div class="flex flex-wrap gap-3">
|
||||||
{% if can_edit %}
|
{% if can_edit %}
|
||||||
<a href="/clients/{{ row.id }}/business-structure" class="rounded-xl border border-emerald-300 px-4 py-2 text-sm font-medium text-emerald-700 hover:bg-emerald-50">Business Structure</a>
|
<a href="/clients/{{ row.id }}/business-structure" class="rounded-xl border border-emerald-300 px-4 py-2 text-sm font-medium text-emerald-700 hover:bg-emerald-50">Business Structure</a>
|
||||||
|
<a href="/registrations/clients/{{ row.id }}" class="rounded-xl border border-amber-300 px-4 py-2 text-sm font-medium text-amber-700 hover:bg-amber-50">Registrations</a>
|
||||||
<a href="/client-identity/clients/{{ row.id }}" class="rounded-xl border border-indigo-300 px-4 py-2 text-sm font-medium text-indigo-700 hover:bg-indigo-50">Portal Identity</a>
|
<a href="/client-identity/clients/{{ row.id }}" class="rounded-xl border border-indigo-300 px-4 py-2 text-sm font-medium text-indigo-700 hover:bg-indigo-50">Portal Identity</a>
|
||||||
<a href="/clients/{{ row.id }}/edit"
|
<a href="/clients/{{ row.id }}/edit"
|
||||||
class="rounded-xl border border-slate-300 px-4 py-2 text-sm font-medium text-slate-700 hover:bg-slate-50">
|
class="rounded-xl border border-slate-300 px-4 py-2 text-sm font-medium text-slate-700 hover:bg-slate-50">
|
||||||
|
|||||||
@@ -50,7 +50,7 @@
|
|||||||
{
|
{
|
||||||
'label': 'Clients',
|
'label': 'Clients',
|
||||||
'visible': true,
|
'visible': true,
|
||||||
'active': (_partner_path.startswith('/partner/dashboard') and _partner_tab == 'clients') or _partner_path.startswith('/partner/clients') or _partner_path.startswith('/clients') or _partner_path.startswith('/documents/permanent'),
|
'active': (_partner_path.startswith('/partner/dashboard') and _partner_tab == 'clients') or _partner_path.startswith('/partner/clients') or _partner_path.startswith('/clients') or _partner_path.startswith('/registrations') or _partner_path.startswith('/documents/permanent'),
|
||||||
'children': [
|
'children': [
|
||||||
{
|
{
|
||||||
'label': 'Client Overview',
|
'label': 'Client Overview',
|
||||||
@@ -67,6 +67,16 @@
|
|||||||
'url': '/clients/new',
|
'url': '/clients/new',
|
||||||
'active': _partner_path == '/clients/new'
|
'active': _partner_path == '/clients/new'
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
'label': 'Registrations & Renewals',
|
||||||
|
'url': '/registrations',
|
||||||
|
'active': _partner_path == '/registrations' or (_partner_path.startswith('/registrations/') and not _partner_path.startswith('/registrations/masters'))
|
||||||
|
},
|
||||||
|
{
|
||||||
|
'label': 'Registration Masters',
|
||||||
|
'url': '/registrations/masters',
|
||||||
|
'active': _partner_path.startswith('/registrations/masters')
|
||||||
|
},
|
||||||
{
|
{
|
||||||
'label': 'Permanent Docs',
|
'label': 'Permanent Docs',
|
||||||
'url': '/documents/permanent',
|
'url': '/documents/permanent',
|
||||||
|
|||||||
Reference in New Issue
Block a user