use default footer for application

based on old 'users/dossiers/_index_footer'
This commit is contained in:
Christophe Robillard 2023-12-11 14:49:03 +01:00
parent 189b9e5037
commit d7a8430201
9 changed files with 4 additions and 17 deletions

View file

@ -66,7 +66,3 @@
= t('.full_deploy_body')
%h2.fr-h6= t('.whats_ds', application_name: APPLICATION_NAME)
= image_tag "landing/hero/dematerialiser.svg", class: "paperless-logo", alt: ""
- content_for :footer do
= render partial: 'users/dossiers/index_footer'

View file

@ -59,6 +59,8 @@
- if content_for?(:footer)
= content_for(:footer)
- else
= render 'footer'
- if Rails.env.development?
= vite_typescript_tag 'axe-core'

View file

@ -12,6 +12,6 @@
- if procedure
= render partial: 'users/procedure_footer', locals: { procedure: procedure, dossier: @dossier }
- else
= render partial: 'users/dossiers/index_footer'
= render partial: 'application/footer'
= render template: 'layouts/application'

View file

@ -6,4 +6,4 @@
.fr-col-12.fr-col-offset-md-2.fr-col-md-8
= render Instructeurs::ActivateAccountFormComponent.new(user: @user)
= render partial: 'users/dossiers/index_footer'
= render partial: 'application/footer'

View file

@ -1,8 +1,5 @@
- content_for(:title, "Démarches")
- content_for :footer do
= render partial: "users/dossiers/index_footer"
#demarches-index
.container
%h1.page-title Démarches

View file

@ -3,9 +3,6 @@
- else
- content_for(:title, t(".title", scope: :metas))
- content_for :footer do
= render partial: "users/dossiers/index_footer"
.dossiers-headers.sub-header
.fr-container
%h1.page-title.fr-h2= t('views.users.dossiers.index.dossiers')

View file

@ -18,5 +18,3 @@
= f.hidden_field :dossier, value: @dossier.id
= f.submit t('.submit'), class: 'fr-btn'
- content_for :footer do
= render partial: 'users/dossiers/index_footer'

View file

@ -85,6 +85,3 @@
method: :delete,
data: { confirm: t('.unlink_confirmation', full_name: fci.full_name) },
class: 'fr-btn fr-btn--secondary fr-ml-2w'
- content_for :footer do
= render partial: 'users/dossiers/index_footer'