improve: company list on profile - vertical, alphabetical, alternating bg
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
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
51bd9f25dc
commit
0623e267b7
@ -231,7 +231,9 @@
|
||||
</h1>
|
||||
<p class="profile-subtitle">
|
||||
{% if user_companies and user_companies|length > 1 %}
|
||||
{{ user_companies|map(attribute='company')|selectattr('name')|map(attribute='name')|join(' · ') }}
|
||||
{% for uc in user_companies|sort(attribute='company.name') %}{% if uc.company %}
|
||||
<a href="{{ url_for('company_detail_by_slug', slug=uc.company.slug) }}" style="display:block;text-decoration:none;color:var(--text-primary);padding:4px 10px;border-radius:6px;margin-bottom:2px;{% if loop.index is odd %}background:var(--bg-secondary);{% endif %}">{{ uc.company.name }}</a>
|
||||
{% endif %}{% endfor %}
|
||||
{% elif profile_user.company %}
|
||||
{{ profile_user.company.name }}
|
||||
{% else %}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user