use default footer for application
based on old 'users/dossiers/_index_footer'
This commit is contained in:
parent
189b9e5037
commit
d7a8430201
9 changed files with 4 additions and 17 deletions
|
@ -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'
|
||||
|
|
|
@ -59,6 +59,8 @@
|
|||
|
||||
- if content_for?(:footer)
|
||||
= content_for(:footer)
|
||||
- else
|
||||
= render 'footer'
|
||||
|
||||
- if Rails.env.development?
|
||||
= vite_typescript_tag 'axe-core'
|
||||
|
|
|
@ -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'
|
||||
|
|
|
@ -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'
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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')
|
||||
|
|
|
@ -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'
|
||||
|
|
|
@ -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'
|
||||
|
|
Loading…
Reference in a new issue