mirror of
https://github.com/Retrospring/retrospring.git
synced 2025-02-13 21:33:20 +01:00
Add "DEV" badge to navigation brand
This commit is contained in:
parent
8e915e1c0a
commit
710192e8fa
1 changed files with 3 additions and 0 deletions
|
@ -5,6 +5,9 @@
|
||||||
= render inline: Rails.application.config.justask_svg_logo
|
= render inline: Rails.application.config.justask_svg_logo
|
||||||
- else
|
- else
|
||||||
= APP_CONFIG["site_name"]
|
= 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
|
%ul.nav.navbar-nav.me-auto
|
||||||
= nav_entry t("navigation.timeline"), root_path, icon: 'home'
|
= nav_entry t("navigation.timeline"), root_path, icon: 'home'
|
||||||
= nav_entry t("navigation.inbox"), '/inbox', icon: 'inbox', badge: inbox_count
|
= nav_entry t("navigation.inbox"), '/inbox', icon: 'inbox', badge: inbox_count
|
||||||
|
|
Loading…
Reference in a new issue