fix(person): prefer portal user name over masked KRS name
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
KRS data has RODO-masked names (L***** G****). Use portal_user.name when available for display. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
8501eef2f1
commit
2a70ab7ccf
@ -244,7 +244,7 @@
|
||||
{% endif %}
|
||||
</div>
|
||||
<h1 class="person-name">
|
||||
{{ person.full_name() }}
|
||||
{{ portal_user.name if portal_user and portal_user.name else person.full_name() }}
|
||||
{% if portal_user and portal_user.chamber_role in ('prezes', 'wiceprezes') %}
|
||||
{% set _cr = portal_user.chamber_role %}
|
||||
<span style="display:inline-block;background:{{ '#fef3c7' if _cr == 'prezes' else '#dbeafe' }};color:{{ '#92400e' if _cr == 'prezes' else '#1d4ed8' }};font-size:12px;padding:3px 10px;border-radius:20px;font-weight:600;vertical-align:middle;margin-left:8px;">{{ portal_user.chamber_role_label }}</span>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user