M src/cljs/codegouvfr/core.cljs => src/cljs/codegouvfr/core.cljs +16 -22
@@ 1194,16 1194,10 @@
;; Contact by email
[:div.fr-follow__special
[:div
- [:h1.fr-h5.fr-follow__title
- (i/i lang [:contact])
- " "
- [:button.fr-share__link.fr-share__link--copy.fr-text-sm
- {:type "button"
- :on-click #(do (.stopPropagation %)
- (copy-to-clipboard "logiciels-libres@data.gouv.fr"))
- :title (i/i lang [:copy-to-clipboard])}]]
- [:p.fr-text--sm.fr-follow__desc (i/i lang [:contact-title])]
- [:a {:href "mailto:logiciels-libres@data.gouv.fr"}
+ [:h1.fr-h5.fr-follow__title (i/i lang [:contact])]
+ [:p.fr-text--sm.fr-follow__desc (to-hiccup (i/i lang [:contact-title]))]
+ [:a {:on-click #(do (.stopPropagation %)
+ (copy-to-clipboard "logiciels-libres@data.gouv.fr"))}
[:button.fr-btn {:type "button"} "logiciels-libres@data.gouv.fr"]]]]]
;; Subscribe to he newsletter
[:div.fr-col-12.fr-col-md-5
@@ 1221,19 1215,19 @@
[:p.fr-h5.fr-mb-3v (i/i lang [:find-us])]
[:div.fr-share__group
[:a.fr-share__link
- {:href "https://sr.ht/~etalab/"
- :aria-label (i/i lang [:sourcehut-link])
- :title (new-tab (i/i lang [:sourcehut-link]) lang)
- :rel "noreferrer noopener"
- :target "_blank"}
- "SourceHut"]
+ {:href "https://sr.ht/~etalab/"
+ :aria-label (i/i lang [:sourcehut-link])
+ :title (new-tab (i/i lang [:sourcehut-link]) lang)
+ :rel "noreferrer noopener"
+ :target "_blank"}
+ "SourceHut"]
[:a.fr-share__link
- {:href "https://twitter.com/codegouvfr"
- :aria-label (i/i lang [:twitter-follow])
- :title (new-tab (i/i lang [:twitter-follow]) lang)
- :rel "noreferrer noopener"
- :target "_blank"}
- "Twitter"]]]]]]])
+ {:href "https://twitter.com/codegouvfr"
+ :aria-label (i/i lang [:twitter-follow])
+ :title (new-tab (i/i lang [:twitter-follow]) lang)
+ :rel "noreferrer noopener"
+ :target "_blank"}
+ "Twitter"]]]]]]])
(defn display-parameters-modal [lang]
[:dialog#fr-theme-modal.fr-modal
M src/cljs/codegouvfr/i18n.cljs => src/cljs/codegouvfr/i18n.cljs +2 -2
@@ 29,7 29,7 @@
:browse-repos-orga "Voir la liste des dépôts de cette organisation ou de ce groupe"
:close "Fermer"
:contact "Contact"
- :contact-title "N'hésitez pas à nous écrire en suivant ce lien, nous tâchons de répondre dans la journée."
+ :contact-title "[Écrivez-nous en suivant ce lien](mailto:logiciel-libres@data.gouv.fr) ou copiez notre adresse dans le presse-papier en cliquant sur le bouton ci-dessous."
:copy-to-clipboard "Copier notre adresse de courriel dans le presse-papier"
:created-at "Création"
:dep " dépendance"
@@ 151,7 151,7 @@
:browse-repos-orga "See the list of repositories from this organization or group"
:close "Close"
:contact "Contact"
- :contact-title "Don't hesitate to email us by following this link, we try to answer within a day."
+ :contact-title "[Send us an email by following this link](mailto:logiciel-libres@data.gouv.fr) or copy our email to your clipboard by clicking on the button below."
:copy-to-clipboard "Copy our email address to the clipboard"
:created-at "Created"
:dep " dependency"