From 710192e8fac0007703fdae9c76a1a34060fde4ac Mon Sep 17 00:00:00 2001 From: Andreas Nedbal Date: Wed, 11 Jan 2023 21:48:42 +0100 Subject: [PATCH] Add "DEV" badge to navigation brand --- app/views/navigation/_desktop.html.haml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/views/navigation/_desktop.html.haml b/app/views/navigation/_desktop.html.haml index e3e3457e..eb8aba63 100644 --- a/app/views/navigation/_desktop.html.haml +++ b/app/views/navigation/_desktop.html.haml @@ -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