Merge pull request #13185 from overleaf/jpa-translate-contact-us

[web] translate contact us entry in navbar

GitOrigin-RevId: bbf107a8260c8ad09247f3e83e5ca792f291bc66
This commit is contained in:
Jakob Ackermann 2023-06-06 13:10:32 +01:00 committed by Copybot
parent d98d882cb6
commit 9ad35302f9
2 changed files with 10 additions and 0 deletions

View file

@ -93,6 +93,11 @@ nav.navbar.navbar-default.navbar-main
each child in item.dropdown
if child.divider
li.divider
else if child.isContactUs
li
a(data-ol-open-contact-form-modal="contact-us" href)
span(event-tracking="menu-clicked-contact" event-tracking-mb="true" event-tracking-trigger="click")
| #{translate("contact_us")}
else
li
if child.url

View file

@ -68,6 +68,11 @@ nav.navbar.navbar-default.navbar-main
each child in item.dropdown
if child.divider
li.divider
else if child.isContactUs
li
a(ng-controller="ContactModal" ng-click="contactUsModal()" href)
span(event-tracking="menu-clicked-contact" event-tracking-mb="true" event-tracking-trigger="click")
| #{translate("contact_us")}
else
li
if child.url