Store in constant CGU url
This commit is contained in:
parent
8ca1c20e84
commit
11dbc595c7
4 changed files with 6 additions and 3 deletions
|
@ -36,7 +36,8 @@
|
||||||
%p
|
%p
|
||||||
%label{ style: 'font-weight: normal;' }
|
%label{ style: 'font-weight: normal;' }
|
||||||
= f.check_box :autorisation_donnees
|
= f.check_box :autorisation_donnees
|
||||||
J'accepte <a href="https://tps.gitbooks.io/tps-documentation/content/conditions-generales-dutilisation.html" target="_blank">les CGU</a>.
|
J'accepte
|
||||||
|
= link_to "les CGU", CGU_URL, target: :blank
|
||||||
.row
|
.row
|
||||||
.col-xs-5.col-xs-5
|
.col-xs-5.col-xs-5
|
||||||
.col-xs-2.col-xs-2
|
.col-xs-2.col-xs-2
|
||||||
|
|
|
@ -7,6 +7,6 @@
|
||||||
\-
|
\-
|
||||||
= link_to 'Statistiques', stats_path
|
= link_to 'Statistiques', stats_path
|
||||||
\-
|
\-
|
||||||
= link_to 'CGU / Mentions légales', "https://tps.gitbooks.io/tps-documentation/content/conditions-generales-dutilisation.html"
|
= link_to 'CGU / Mentions légales', CGU_URL
|
||||||
\-
|
\-
|
||||||
= link_to 'Contact', "mailto:"+t('dynamics.contact_email')
|
= link_to 'Contact', "mailto:"+t('dynamics.contact_email')
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
%li.footer-link
|
%li.footer-link
|
||||||
= link_to "Statistiques", stats_path, :class => "footer-link"
|
= link_to "Statistiques", stats_path, :class => "footer-link"
|
||||||
%li.footer-link
|
%li.footer-link
|
||||||
= link_to "CGU", "https://tps.gitbooks.io/tps-documentation/content/conditions-generales-dutilisation.html", :class => "footer-link", :target => "_blank"
|
= link_to "CGU", CGU_URL, :class => "footer-link", :target => "_blank"
|
||||||
|
|
||||||
%li.footer-column
|
%li.footer-column
|
||||||
%ul.footer-links
|
%ul.footer-links
|
||||||
|
|
|
@ -3,3 +3,5 @@ if Rails.env.production?
|
||||||
else
|
else
|
||||||
SIADEURL = 'https://staging.entreprise.api.gouv.fr'
|
SIADEURL = 'https://staging.entreprise.api.gouv.fr'
|
||||||
end
|
end
|
||||||
|
|
||||||
|
CGU_URL = "https://tps.gitbooks.io/tps-documentation/content/conditions-generales-dutilisation.html"
|
||||||
|
|
Loading…
Reference in a new issue