Add "DEV" badge to navigation brand

This commit is contained in:
Andreas Nedbal 2023-01-11 21:48:42 +01:00 committed by Andreas Nedbal
parent 8e915e1c0a
commit 710192e8fa

View file

@ -5,6 +5,9 @@
= render inline: Rails.application.config.justask_svg_logo
- else
= APP_CONFIG["site_name"]
- if Rails.env.development?
%span.badge.rounded-pill.bg-warning.text-bg-warning.fs-7
DEV
%ul.nav.navbar-nav.me-auto
= nav_entry t("navigation.timeline"), root_path, icon: 'home'
= nav_entry t("navigation.inbox"), '/inbox', icon: 'inbox', badge: inbox_count