Merge pull request #2879 from betagouv/fix-2877-ContactInstructeur
Modification du titre contact dans le menu instructeur .
This commit is contained in:
commit
f75d890a1f
2 changed files with 4 additions and 9 deletions
|
@ -23,15 +23,10 @@
|
|||
%span.badge.warning= avis_counter
|
||||
%li
|
||||
.tab-link.contact-link
|
||||
Contact
|
||||
Aide
|
||||
.contact-details
|
||||
Vous avez besoin d’aide ? Contactez-nous :
|
||||
%br
|
||||
– par téléphone :
|
||||
= link_to CONTACT_PHONE, "tel:#{CONTACT_PHONE}"
|
||||
%br
|
||||
– par email :
|
||||
= contact_link CONTACT_EMAIL
|
||||
Besoin d’aide technique ? Contactez-nous
|
||||
= contact_link("par email")
|
||||
|
||||
- if nav_bar_profile == :user
|
||||
%ul.header-tabs
|
||||
|
|
|
@ -27,7 +27,7 @@ describe 'layouts/_new_header.html.haml', type: :view do
|
|||
|
||||
it "displays the contact infos" do
|
||||
expect(rendered).to have_text("Contact")
|
||||
expect(rendered).to have_link(CONTACT_EMAIL, href: contact_url)
|
||||
expect(rendered).to have_link("par email", href: contact_url)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue