fix: never show 'guest' profile name
it's just a hack to tell we don't known the actual profile
This commit is contained in:
parent
d566186954
commit
f6744adbde
1 changed files with 3 additions and 2 deletions
|
@ -5,6 +5,7 @@
|
|||
- if dossier.present? && dossier&.france_connected_with_one_identity?
|
||||
%span
|
||||
via FranceConnect
|
||||
- if nav_bar_profile != :guest # don't confuse user with unknown profile
|
||||
%span{ class: "fr-badge fr-badge--sm #{color_by_role(nav_bar_profile)}" }
|
||||
= t("layouts.#{nav_bar_profile}")
|
||||
#account.fr-collapse.fr-menu
|
||||
|
|
Loading…
Reference in a new issue