Merge pull request #2879 from betagouv/fix-2877-ContactInstructeur

Modification du titre contact dans le menu instructeur .
This commit is contained in:
gregoirenovel 2018-10-18 18:44:39 +02:00 committed by GitHub
commit f75d890a1f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 9 deletions

View file

@ -23,15 +23,10 @@
%span.badge.warning= avis_counter
%li
.tab-link.contact-link
Contact
Aide
.contact-details
Vous avez besoin daide ? Contactez-nous :
%br
par téléphone :
= link_to CONTACT_PHONE, "tel:#{CONTACT_PHONE}"
%br
par email :
= contact_link CONTACT_EMAIL
Besoin daide technique ? Contactez-nous
= contact_link("par email")
- if nav_bar_profile == :user
%ul.header-tabs

View file

@ -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