chore(banner): easier with hardcoded .gouv.fr name

This commit is contained in:
Colin Darie 2024-03-27 11:03:58 +01:00
parent d5515fca33
commit 033b2fa63d
No known key found for this signature in database
GPG key ID: 8C76CADD40253590

View file

@ -19,7 +19,9 @@
= render Dsfr::NoticeComponent.new(closable: true, data_attributes: { "data-switch-domain-notice" => true }) do |c|
- c.with_title do
= t(".message_new_domain")
= "#{helpers.link_to APPLICATION_NAME, new_host_url}."
-# haml-lint:disable ApplicationNameLinter
= "#{helpers.link_to "demarches.gouv.fr", new_host_url}."
-# haml-lint:enable ApplicationNameLinter
- if manual_switch?
= t(".follow_link")