refactor(footer): licence sentence in partial
This commit is contained in:
parent
36589c186c
commit
1e9d5b753c
3 changed files with 7 additions and 10 deletions
|
@ -66,8 +66,4 @@
|
||||||
|
|
||||||
.fr-footer__bottom
|
.fr-footer__bottom
|
||||||
= render partial: 'users/general_footer_row'
|
= render partial: 'users/general_footer_row'
|
||||||
.fr-footer__bottom-copy
|
= render partial: 'shared/footer_copy'
|
||||||
%p
|
|
||||||
Sauf mention contraire, tous les contenus de ce site sont sous
|
|
||||||
%a{ href: "https://github.com/etalab/licence-ouverte/blob/master/LO.md", target:"_blank" } licence etalab-2.0
|
|
||||||
%br
|
|
||||||
|
|
5
app/views/shared/_footer_copy.html.haml
Normal file
5
app/views/shared/_footer_copy.html.haml
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
.fr-footer__bottom-copy
|
||||||
|
%p
|
||||||
|
Sauf mention contraire, tous les contenus de ce site sont sous
|
||||||
|
%a{ href: "https://github.com/etalab/licence-ouverte/blob/master/LO.md", target:"_blank", class: "fr-underlined" } licence etalab-2.0
|
||||||
|
%br
|
|
@ -81,8 +81,4 @@
|
||||||
|
|
||||||
.fr-footer__bottom
|
.fr-footer__bottom
|
||||||
= render partial: 'users/general_footer_row', locals: { dossier: dossier }
|
= render partial: 'users/general_footer_row', locals: { dossier: dossier }
|
||||||
.fr-footer__bottom-copy
|
= render partial: 'shared/footer_copy'
|
||||||
%p
|
|
||||||
Sauf mention contraire, tous les contenus de ce site sont sous
|
|
||||||
%a.fr-underlined{ href: "https://github.com/etalab/licence-ouverte/blob/master/LO.md", target:"_blank" } licence etalab-2.0
|
|
||||||
%br
|
|
||||||
|
|
Loading…
Reference in a new issue