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
|
%span.badge.warning= avis_counter
|
||||||
%li
|
%li
|
||||||
.tab-link.contact-link
|
.tab-link.contact-link
|
||||||
Contact
|
Aide
|
||||||
.contact-details
|
.contact-details
|
||||||
Vous avez besoin d’aide ? Contactez-nous :
|
Besoin d’aide technique ? Contactez-nous
|
||||||
%br
|
= contact_link("par email")
|
||||||
– par téléphone :
|
|
||||||
= link_to CONTACT_PHONE, "tel:#{CONTACT_PHONE}"
|
|
||||||
%br
|
|
||||||
– par email :
|
|
||||||
= contact_link CONTACT_EMAIL
|
|
||||||
|
|
||||||
- if nav_bar_profile == :user
|
- if nav_bar_profile == :user
|
||||||
%ul.header-tabs
|
%ul.header-tabs
|
||||||
|
|
|
@ -27,7 +27,7 @@ describe 'layouts/_new_header.html.haml', type: :view do
|
||||||
|
|
||||||
it "displays the contact infos" do
|
it "displays the contact infos" do
|
||||||
expect(rendered).to have_text("Contact")
|
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
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue