fix(zopk): remove Panel ZOPK button and stats bars from public view
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
Panel ZOPK accessible via admin bar. Stats (0 Projekty, 7 Interesariusze, 203 Aktualności, 0 Materiały) removed — raw numbers without context confuse users. News stats bar also hidden. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
f3da52c8cd
commit
73249d187c
@ -984,28 +984,8 @@
|
||||
<h1>Zielony Okręg Przemysłowy Kaszubia</h1>
|
||||
<p>Strategiczna inicjatywa rozwoju regionu Pomorza - energetyka odnawialna, przemysł obronny, technologie przyszłości. Baza wiedzy o projektach transformacji gospodarczej Kaszub.</p>
|
||||
|
||||
{% if current_user.is_authenticated and current_user.is_admin %}
|
||||
<a href="{{ url_for('admin.admin_zopk') }}" style="display: inline-flex; align-items: center; gap: 6px; margin-top: var(--spacing-md); padding: 8px 20px; background: rgba(255,255,255,0.15); color: white; border: 1px solid rgba(255,255,255,0.3); border-radius: var(--radius); text-decoration: none; font-size: var(--font-size-sm); transition: var(--transition);" onmouseover="this.style.background='rgba(255,255,255,0.25)'" onmouseout="this.style.background='rgba(255,255,255,0.15)'">⚙️ Panel ZOPK →</a>
|
||||
{% endif %}
|
||||
|
||||
<div class="zopk-stats">
|
||||
<div class="zopk-stat">
|
||||
<div class="zopk-stat-value">{{ stats.total_projects }}</div>
|
||||
<div class="zopk-stat-label">Projekty</div>
|
||||
</div>
|
||||
<div class="zopk-stat">
|
||||
<div class="zopk-stat-value">{{ stats.total_stakeholders }}</div>
|
||||
<div class="zopk-stat-label">Interesariusze</div>
|
||||
</div>
|
||||
<div class="zopk-stat">
|
||||
<div class="zopk-stat-value">{{ stats.total_news }}</div>
|
||||
<div class="zopk-stat-label">Aktualności</div>
|
||||
</div>
|
||||
<div class="zopk-stat">
|
||||
<div class="zopk-stat-value">{{ stats.total_resources }}</div>
|
||||
<div class="zopk-stat-label">Materiały</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- Panel ZOPK link moved to admin bar (Treści → ZOP Kaszubia) -->
|
||||
<!-- Stats bar removed — numbers without context are confusing for users -->
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -1292,27 +1272,7 @@
|
||||
{% endif %}
|
||||
</div>
|
||||
|
||||
<!-- News Statistics Bar -->
|
||||
{% if news_stats %}
|
||||
<div class="news-stats-bar">
|
||||
<div class="news-stat-item">
|
||||
<span class="stat-value">{{ news_stats.total }}</span>
|
||||
<span class="stat-label">łącznie</span>
|
||||
</div>
|
||||
<div class="news-stat-item">
|
||||
<span class="stat-value">{{ news_stats.last_day }}</span>
|
||||
<span class="stat-label">ostatni dzień</span>
|
||||
</div>
|
||||
<div class="news-stat-item">
|
||||
<span class="stat-value">{{ news_stats.last_week }}</span>
|
||||
<span class="stat-label">ostatni tydzień</span>
|
||||
</div>
|
||||
<div class="news-stat-item">
|
||||
<span class="stat-value">{{ news_stats.last_month }}</span>
|
||||
<span class="stat-label">ostatni miesiąc</span>
|
||||
</div>
|
||||
</div>
|
||||
{% endif %}
|
||||
<!-- News Statistics Bar — hidden, raw numbers don't help users -->
|
||||
|
||||
{% if news_items %}
|
||||
<div class="news-grid">
|
||||
|
||||
Loading…
Reference in New Issue
Block a user