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
- AdmissionWorkflowLog model + migration - services/admission_workflow.py — auto-extract admitted companies from board meeting proceedings, match to existing companies, create placeholders, notify Office Managers (in-app + email) - Hook in meeting_publish_protocol() — triggers workflow in background - Dashboard /rada/posiedzenia/ID/przyjecia for Office Manager - /nowi-czlonkowie redesigned: grouped by board meetings, fixed Polish characters, removed days-based filter Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
214 lines
5.8 KiB
HTML
Executable File
214 lines
5.8 KiB
HTML
Executable File
{% extends "base.html" %}
|
|
|
|
{% block title %}Nowi członkowie — Norda Biznes Partner{% endblock %}
|
|
|
|
{% block extra_css %}
|
|
<style>
|
|
.page-header {
|
|
margin-bottom: var(--spacing-xl);
|
|
}
|
|
|
|
.page-header h1 {
|
|
font-size: var(--font-size-3xl);
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.page-header .subtitle {
|
|
color: var(--text-secondary);
|
|
margin-top: var(--spacing-xs);
|
|
}
|
|
|
|
.stats-summary {
|
|
background: var(--primary);
|
|
color: white;
|
|
padding: var(--spacing-lg);
|
|
border-radius: var(--radius-lg);
|
|
margin-bottom: var(--spacing-xl);
|
|
display: flex;
|
|
align-items: center;
|
|
gap: var(--spacing-lg);
|
|
}
|
|
|
|
.stats-number {
|
|
font-size: var(--font-size-3xl);
|
|
font-weight: 700;
|
|
}
|
|
|
|
.stats-text {
|
|
font-size: var(--font-size-lg);
|
|
}
|
|
|
|
.meeting-section {
|
|
margin-bottom: var(--spacing-2xl);
|
|
}
|
|
|
|
.meeting-section h2 {
|
|
font-size: var(--font-size-xl);
|
|
color: var(--text-primary);
|
|
margin-bottom: var(--spacing-lg);
|
|
padding-bottom: var(--spacing-sm);
|
|
border-bottom: 2px solid var(--border);
|
|
}
|
|
|
|
.members-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
|
|
gap: var(--spacing-lg);
|
|
}
|
|
|
|
.member-card {
|
|
background: var(--surface);
|
|
border-radius: var(--radius-lg);
|
|
padding: var(--spacing-lg);
|
|
box-shadow: var(--shadow);
|
|
transition: var(--transition);
|
|
position: relative;
|
|
}
|
|
|
|
.member-card:hover {
|
|
box-shadow: var(--shadow-md);
|
|
}
|
|
|
|
.new-badge {
|
|
position: absolute;
|
|
top: var(--spacing-md);
|
|
right: var(--spacing-md);
|
|
background: var(--success);
|
|
color: white;
|
|
padding: 2px 10px;
|
|
border-radius: var(--radius-sm);
|
|
font-size: var(--font-size-xs);
|
|
font-weight: 600;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.pending-badge {
|
|
position: absolute;
|
|
top: var(--spacing-md);
|
|
right: var(--spacing-md);
|
|
background: #fef3c7;
|
|
color: #92400e;
|
|
padding: 2px 10px;
|
|
border-radius: var(--radius-sm);
|
|
font-size: var(--font-size-xs);
|
|
font-weight: 600;
|
|
}
|
|
|
|
.member-category {
|
|
font-size: var(--font-size-xs);
|
|
color: var(--text-secondary);
|
|
text-transform: uppercase;
|
|
margin-bottom: var(--spacing-xs);
|
|
}
|
|
|
|
.member-name {
|
|
font-size: var(--font-size-lg);
|
|
font-weight: 600;
|
|
color: var(--text-primary);
|
|
margin-bottom: var(--spacing-sm);
|
|
}
|
|
|
|
.member-name a {
|
|
color: inherit;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.member-name a:hover {
|
|
color: var(--primary);
|
|
}
|
|
|
|
.member-description {
|
|
color: var(--text-secondary);
|
|
font-size: var(--font-size-sm);
|
|
margin-bottom: var(--spacing-md);
|
|
line-height: 1.5;
|
|
}
|
|
|
|
.member-meta {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding-top: var(--spacing-md);
|
|
border-top: 1px solid var(--border);
|
|
font-size: var(--font-size-sm);
|
|
}
|
|
|
|
.member-location {
|
|
color: var(--text-secondary);
|
|
display: flex;
|
|
align-items: center;
|
|
gap: var(--spacing-xs);
|
|
}
|
|
|
|
.empty-state {
|
|
text-align: center;
|
|
padding: var(--spacing-2xl);
|
|
color: var(--text-secondary);
|
|
background: var(--surface);
|
|
border-radius: var(--radius-lg);
|
|
}
|
|
</style>
|
|
{% endblock %}
|
|
|
|
{% block content %}
|
|
<div class="page-header">
|
|
<h1>Nowi członkowie Izby</h1>
|
|
<p class="subtitle">Firmy przyjęte na posiedzeniach Rady Izby Norda Biznes</p>
|
|
</div>
|
|
|
|
{% if meetings_data %}
|
|
<div class="stats-summary">
|
|
<div class="stats-number">{{ total }}</div>
|
|
<div class="stats-text">nowych firm przyjętych na {{ meetings_data|length }} posiedzeniach Rady</div>
|
|
</div>
|
|
|
|
{% for item in meetings_data %}
|
|
<div class="meeting-section">
|
|
<h2>Posiedzenie Rady {{ item.meeting.meeting_number }}/{{ item.meeting.year }} — {{ item.meeting.meeting_date.strftime('%d.%m.%Y') }}</h2>
|
|
<div class="members-grid">
|
|
{% for company in item.companies %}
|
|
<div class="member-card">
|
|
{% if company.status == 'active' %}
|
|
<span class="new-badge">Nowy</span>
|
|
{% else %}
|
|
<span class="pending-badge">Profil w trakcie uzupełniania</span>
|
|
{% endif %}
|
|
{% if company.category %}
|
|
<div class="member-category">{{ company.category.name }}</div>
|
|
{% endif %}
|
|
<div class="member-name">
|
|
{% if company.status == 'active' %}
|
|
<a href="{{ url_for('public.company_detail_by_slug', slug=company.slug) }}">{{ company.name }}</a>
|
|
{% else %}
|
|
{{ company.name }}
|
|
{% endif %}
|
|
</div>
|
|
{% if company.description_short %}
|
|
<div class="member-description">
|
|
{{ company.description_short[:150] }}{% if company.description_short|length > 150 %}...{% endif %}
|
|
</div>
|
|
{% endif %}
|
|
<div class="member-meta">
|
|
<span class="member-location">
|
|
{% if company.address_city %}
|
|
<svg width="14" height="14" fill="none" stroke="currentColor" stroke-width="2" viewBox="0 0 24 24">
|
|
<path d="M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z"></path>
|
|
<circle cx="12" cy="10" r="3"></circle>
|
|
</svg>
|
|
{{ company.address_city }}
|
|
{% endif %}
|
|
</span>
|
|
</div>
|
|
</div>
|
|
{% endfor %}
|
|
</div>
|
|
</div>
|
|
{% endfor %}
|
|
|
|
{% else %}
|
|
<div class="empty-state">
|
|
<p>Brak informacji o nowych członkach</p>
|
|
</div>
|
|
{% endif %}
|
|
{% endblock %}
|