diff --git a/app/assets/stylesheets/new_design/backoffice.scss b/app/assets/stylesheets/new_design/accompagnateur.scss similarity index 96% rename from app/assets/stylesheets/new_design/backoffice.scss rename to app/assets/stylesheets/new_design/accompagnateur.scss index 3d9751181..b4c3a610f 100644 --- a/app/assets/stylesheets/new_design/backoffice.scss +++ b/app/assets/stylesheets/new_design/accompagnateur.scss @@ -1,14 +1,14 @@ @import "colors"; @import "constants"; -.backoffice-title { +.accompagnateur-title { font-size: 30px; font-weight: normal; margin-top: 3 * $default-spacer; margin-bottom: 3 * $default-spacer; } -.backoffice-header { +.accompagnateur-header { background-color: $light-grey; padding-top: $default-padding; margin-bottom: 2 * $default-spacer; diff --git a/app/assets/stylesheets/new_design/print.scss b/app/assets/stylesheets/new_design/print.scss index 7c0144a95..b4839bed6 100644 --- a/app/assets/stylesheets/new_design/print.scss +++ b/app/assets/stylesheets/new_design/print.scss @@ -2,7 +2,7 @@ @import "fonts"; .new-header, -.backoffice-header, +.accompagnateur-header, footer { display: none; } diff --git a/app/views/new_gestionnaire/avis/_header.html.haml b/app/views/new_gestionnaire/avis/_header.html.haml index c8ffedf7e..6f3b29f8c 100644 --- a/app/views/new_gestionnaire/avis/_header.html.haml +++ b/app/views/new_gestionnaire/avis/_header.html.haml @@ -1,4 +1,4 @@ -.backoffice-header +.accompagnateur-header .container %ul.breadcrumbs %li= link_to('Avis', avis_index_path) diff --git a/app/views/new_gestionnaire/avis/index.html.haml b/app/views/new_gestionnaire/avis/index.html.haml index b50a183e6..84193c2dc 100644 --- a/app/views/new_gestionnaire/avis/index.html.haml +++ b/app/views/new_gestionnaire/avis/index.html.haml @@ -2,7 +2,7 @@ - content_for(:title, "Avis #{avis_statut}") #avis-index - .backoffice-header + .accompagnateur-header .container.flex .width-100 %h1 Avis diff --git a/app/views/new_gestionnaire/avis/show.html.haml b/app/views/new_gestionnaire/avis/show.html.haml index b73e36c91..cb8994db3 100644 --- a/app/views/new_gestionnaire/avis/show.html.haml +++ b/app/views/new_gestionnaire/avis/show.html.haml @@ -4,7 +4,7 @@ = render partial: 'header', locals: { avis: @avis, dossier: @dossier } .container - .backoffice-title Identité du demandeur + .accompagnateur-title Identité du demandeur .card - if @dossier.entreprise.present? = render partial: 'new_gestionnaire/dossiers/identite_entreprise', locals: { entreprise: @dossier.entreprise } @@ -12,18 +12,18 @@ - if @dossier.individual.present? = render partial: 'new_gestionnaire/dossiers/identite_individual', locals: { individual: @dossier.individual } - .backoffice-title Formulaire + .accompagnateur-title Formulaire - champs = @dossier.ordered_champs.decorate - if champs.any? .card = render partial: 'new_gestionnaire/dossiers/champs', locals: { champs: champs } - if @dossier.procedure.use_api_carto - .backoffice-title Cartographie + .accompagnateur-title Cartographie .card = render partial: 'new_gestionnaire/dossiers/map', locals: { dossier: @dossier } - if @dossier.procedure.cerfa_flag? || @dossier.types_de_piece_justificative.any? - .backoffice-title Pièces jointes + .accompagnateur-title Pièces jointes .card = render partial: "new_gestionnaire/dossiers/pieces_jointes", locals: { dossier: @dossier } diff --git a/app/views/new_gestionnaire/dossiers/_header.html.haml b/app/views/new_gestionnaire/dossiers/_header.html.haml index 520c8fa5c..852e4cf62 100644 --- a/app/views/new_gestionnaire/dossiers/_header.html.haml +++ b/app/views/new_gestionnaire/dossiers/_header.html.haml @@ -1,4 +1,4 @@ -.backoffice-header +.accompagnateur-header .container .flex.justify-between %ul.breadcrumbs diff --git a/app/views/new_gestionnaire/dossiers/show.html.haml b/app/views/new_gestionnaire/dossiers/show.html.haml index 461844118..08785670d 100644 --- a/app/views/new_gestionnaire/dossiers/show.html.haml +++ b/app/views/new_gestionnaire/dossiers/show.html.haml @@ -3,7 +3,7 @@ = render partial: "header", locals: { dossier: @dossier } .container - .backoffice-title Identité du demandeur + .accompagnateur-title Identité du demandeur .card - if @dossier.entreprise.present? = render partial: "identite_entreprise", locals: { entreprise: @dossier.entreprise } @@ -11,18 +11,18 @@ - if @dossier.individual.present? = render partial: "identite_individual", locals: { individual: @dossier.individual } - .backoffice-title Formulaire + .accompagnateur-title Formulaire - champs = @dossier.ordered_champs.decorate - if champs.any? .card = render partial: "champs", locals: { champs: champs } - if @dossier.procedure.use_api_carto - .backoffice-title Cartographie + .accompagnateur-title Cartographie .card = render partial: "map", locals: { dossier: @dossier } - if @dossier.procedure.cerfa_flag? || @dossier.types_de_piece_justificative.any? - .backoffice-title Pièces jointes + .accompagnateur-title Pièces jointes .card = render partial: "pieces_jointes", locals: { dossier: @dossier } diff --git a/app/views/new_gestionnaire/procedures/index.html.haml b/app/views/new_gestionnaire/procedures/index.html.haml index 4cb2b7a51..b8a64c62b 100644 --- a/app/views/new_gestionnaire/procedures/index.html.haml +++ b/app/views/new_gestionnaire/procedures/index.html.haml @@ -1,7 +1,7 @@ - content_for(:title, "Procédures") .container - %h1.backoffice-title Procédures + %h1.accompagnateur-title Procédures %ul.procedure-list - @procedures.each do |p| diff --git a/app/views/new_gestionnaire/procedures/show.html.haml b/app/views/new_gestionnaire/procedures/show.html.haml index d39e12308..90f9104d1 100644 --- a/app/views/new_gestionnaire/procedures/show.html.haml +++ b/app/views/new_gestionnaire/procedures/show.html.haml @@ -1,7 +1,7 @@ - content_for(:title, "#{@procedure.libelle}") #procedure-show - .backoffice-header + .accompagnateur-header .container.flex .procedure-logo diff --git a/app/views/new_gestionnaire/recherche/index.html.haml b/app/views/new_gestionnaire/recherche/index.html.haml index 4bb6ce94c..20f4a65d6 100644 --- a/app/views/new_gestionnaire/recherche/index.html.haml +++ b/app/views/new_gestionnaire/recherche/index.html.haml @@ -1,7 +1,7 @@ - content_for(:title, "Recherche : #{@search_terms}") .container - .backoffice-title + .accompagnateur-title Résultat de la recherche : = pluralize(@dossiers.count, "dossier trouvé", "dossiers trouvés") diff --git a/app/views/root/patron.html.haml b/app/views/root/patron.html.haml index 87fd76328..3a86f8a2b 100644 --- a/app/views/root/patron.html.haml +++ b/app/views/root/patron.html.haml @@ -135,7 +135,7 @@ %td Table Data 3 %h1 Header - .backoffice-header + .accompagnateur-header .container Titre %ul.tabs