feat: rename Social Media to Social with beta badge, move between Forum and Aktualnosci
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
Shortened nav label to fit single line, added rotated gradient beta badge. Moved nav position from after Edukacja to between Forum and Aktualnosci. Updated admin sidebar label to Social Dashboard with beta badge. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
392071db3a
commit
e60f545b11
@ -183,6 +183,24 @@
|
||||
background-color: var(--background);
|
||||
}
|
||||
|
||||
.nav-badge-beta {
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
font-size: 9px;
|
||||
font-weight: 700;
|
||||
color: white;
|
||||
background: linear-gradient(135deg, #ef4444, #f97316);
|
||||
padding: 1px 5px;
|
||||
border-radius: 3px;
|
||||
line-height: 1.2;
|
||||
letter-spacing: 0.5px;
|
||||
transform: rotate(-12deg);
|
||||
vertical-align: super;
|
||||
margin-left: 2px;
|
||||
text-transform: uppercase;
|
||||
box-shadow: 0 1px 3px rgba(239,68,68,0.4);
|
||||
}
|
||||
|
||||
.nav-link.active {
|
||||
color: var(--primary);
|
||||
}
|
||||
@ -1292,6 +1310,11 @@
|
||||
<!-- Forum - główna pozycja -->
|
||||
<li><a href="{{ url_for('forum_index') }}" class="nav-link {% if request.endpoint and 'forum' in request.endpoint %}active{% endif %}">Forum</a></li>
|
||||
|
||||
<!-- Social Media - dla MANAGER+ -->
|
||||
{% if current_user.is_authenticated and current_user.has_role(SystemRole.MANAGER) %}
|
||||
<li><a href="{{ url_for('admin.social_publisher_list') }}" class="nav-link {% if request.endpoint and 'social_publisher' in request.endpoint %}active{% endif %}">Social <span class="nav-badge-beta">beta</span></a></li>
|
||||
{% endif %}
|
||||
|
||||
<!-- Aktualności - główna pozycja -->
|
||||
<li><a href="{{ url_for('announcements_list') }}" class="nav-link {% if request.endpoint and 'announcement' in request.endpoint %}active{% endif %}">Aktualności</a></li>
|
||||
|
||||
@ -1307,11 +1330,6 @@
|
||||
<li><a href="{{ url_for('benefits.benefits_list') }}" class="nav-link {% if request.endpoint and 'benefits' in request.endpoint %}active{% endif %}">Korzyści</a></li>
|
||||
{% endif %}
|
||||
|
||||
<!-- Social Media - dla MANAGER+ (zarządzanie FB firmy) -->
|
||||
{% if current_user.is_authenticated and current_user.has_role(SystemRole.MANAGER) %}
|
||||
<li><a href="{{ url_for('admin.social_publisher_list') }}" class="nav-link {% if request.endpoint and 'social_publisher' in request.endpoint %}active{% endif %}">Social Media</a></li>
|
||||
{% endif %}
|
||||
|
||||
<!-- Kaszubia / Więcej Dropdown -->
|
||||
{% if current_user.is_authenticated and current_user.email == 'maciej.pienczyn@inpi.pl' %}
|
||||
<li class="nav-dropdown">
|
||||
@ -1528,7 +1546,7 @@
|
||||
<svg fill="none" stroke="currentColor" viewBox="0 0 24 24">
|
||||
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M8 12h.01M12 12h.01M16 12h.01M21 12c0 4.418-4.03 8-9 8a9.863 9.863 0 01-4.255-.949L3 20l1.395-3.72C3.512 15.042 3 13.574 3 12c0-4.418 4.03-8 9-8s9 3.582 9 8z"/>
|
||||
</svg>
|
||||
Social Media
|
||||
Social Dashboard <span class="nav-badge-beta">beta</span>
|
||||
</a>
|
||||
<a href="{{ url_for('admin_zopk') }}">
|
||||
<svg fill="none" stroke="currentColor" viewBox="0 0 24 24">
|
||||
|
||||
Loading…
Reference in New Issue
Block a user