diff --git a/app/assets/stylesheets/new_design/demarches_index.scss b/app/assets/stylesheets/new_design/demarches_index.scss index 62e8123bb..e14441051 100644 --- a/app/assets/stylesheets/new_design/demarches_index.scss +++ b/app/assets/stylesheets/new_design/demarches_index.scss @@ -1,5 +1,9 @@ @import "colors"; +#demarches-index { + margin-bottom: 30px; +} + .page-title { margin-top: 30px; margin-bottom: 30px; diff --git a/app/views/new_user/demarches/index.html.haml b/app/views/new_user/demarches/index.html.haml index b36ae9a9d..c7ccaef2c 100644 --- a/app/views/new_user/demarches/index.html.haml +++ b/app/views/new_user/demarches/index.html.haml @@ -3,22 +3,23 @@ - content_for :footer do = render partial: "new_user/dossiers/index_footer" -.container - %h1.page-title Démarches +#demarches-index + .container + %h1.page-title Démarches - - if @previous_demarches_still_active.present? - %h2.list-header SUR LESQUELLES VOUS AVEZ DÉJÀ DÉPOSÉ UN DOSSIER - %ul.demarche-links - - @previous_demarches_still_active.each do |demarche| - %li - = link_to(demarche.libelle, commencer_url(procedure_path: demarche.path), class: "demarche-link") + - if @previous_demarches_still_active.present? + %h2.list-header SUR LESQUELLES VOUS AVEZ DÉJÀ DÉPOSÉ UN DOSSIER + %ul.demarche-links + - @previous_demarches_still_active.each do |demarche| + %li + = link_to(demarche.libelle, commencer_url(procedure_path: demarche.path), class: "demarche-link") - - if @popular_demarches.present? - %h2.list-header LES PLUS POPULAIRES - %ul.demarche-links - - @popular_demarches.each do |demarche| - %li - = link_to(demarche.libelle, commencer_url(procedure_path: demarche.path), class: "demarche-link") + - if @popular_demarches.present? + %h2.list-header LES PLUS POPULAIRES + %ul.demarche-links + - @popular_demarches.each do |demarche| + %li + = link_to(demarche.libelle, commencer_url(procedure_path: demarche.path), class: "demarche-link") - %h2.list-header TOUTES LES DÉMARCHES - = link_to("Voir l'intégralité des démarches disponibles", LISTE_DES_DEMARCHES_URL, class: "button") + %h2.list-header TOUTES LES DÉMARCHES + = link_to("Voir l'intégralité des démarches disponibles", LISTE_DES_DEMARCHES_URL, class: "button")