From e60f545b118d5369efa9d79d5ec2de1e8680e95b Mon Sep 17 00:00:00 2001 From: Maciej Pienczyn Date: Fri, 20 Feb 2026 08:30:07 +0100 Subject: [PATCH] feat: rename Social Media to Social with beta badge, move between Forum and Aktualnosci 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 --- templates/base.html | 30 ++++++++++++++++++++++++------ 1 file changed, 24 insertions(+), 6 deletions(-) diff --git a/templates/base.html b/templates/base.html index a2b0ff2..a673afd 100755 --- a/templates/base.html +++ b/templates/base.html @@ -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
  • + + {% if current_user.is_authenticated and current_user.has_role(SystemRole.MANAGER) %} +
  • Social beta
  • + {% endif %} +
  • Aktualności
  • @@ -1307,11 +1330,6 @@
  • Korzyści
  • {% endif %} - - {% if current_user.is_authenticated and current_user.has_role(SystemRole.MANAGER) %} -
  • Social Media
  • - {% endif %} - {% if current_user.is_authenticated and current_user.email == 'maciej.pienczyn@inpi.pl' %}