Display a footer in the dossiers index page

This commit is contained in:
gregoirenovel 2018-09-12 13:29:15 +02:00
parent 5166b79167
commit 1f6870cd5e
3 changed files with 8 additions and 1 deletions

View file

@ -4,4 +4,4 @@
= link_to "Mentions légales", MENTIONS_LEGALES_URL, :class => "footer-link", :target => "_blank", rel: "noopener noreferrer"
= contact_link "Contact technique", class: "footer-link", dossier_id: dossier.id
= contact_link "Contact technique", class: "footer-link", dossier_id: dossier&.id

View file

@ -0,0 +1,4 @@
%footer.dossier-footer
.container
.footer-row.footer-bottom-line
= render partial: "new_user/dossiers/general_footer_row", locals: { dossier: nil }

View file

@ -1,5 +1,8 @@
- content_for(:title, "Dossiers")
- content_for :footer do
= render partial: "new_user/dossiers/index_footer"
.dossiers-headers.sub-header
.container
= link_to "Commencer une nouvelle démarche", new_demarche_url, class: "button secondary new-demarche"