Fix après retours
This commit is contained in:
parent
cdceddafe1
commit
172d81856b
17 changed files with 27 additions and 79 deletions
|
@ -85,10 +85,6 @@
|
||||||
position: relative;
|
position: relative;
|
||||||
}
|
}
|
||||||
|
|
||||||
.absolute {
|
|
||||||
position: absolute;
|
|
||||||
}
|
|
||||||
|
|
||||||
.sticky {
|
.sticky {
|
||||||
position: sticky;
|
position: sticky;
|
||||||
top: 2em;
|
top: 2em;
|
||||||
|
|
|
@ -393,24 +393,3 @@ ul.dropdown-items {
|
||||||
content: none !important;
|
content: none !important;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.btn-back {
|
|
||||||
border: 1px solid $blue-france-500;
|
|
||||||
color: $blue-france-500;
|
|
||||||
background-color: transparent;
|
|
||||||
height: 2em;
|
|
||||||
width: 2em;
|
|
||||||
padding: 0;
|
|
||||||
display: flex;
|
|
||||||
justify-content: center;
|
|
||||||
align-items: center;
|
|
||||||
margin-right: $default-spacer * 2;
|
|
||||||
|
|
||||||
&:hover {
|
|
||||||
background-color: transparent !important;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.btn-back .fr-icon-arrow-left-line {
|
|
||||||
font-size: 0.8em;
|
|
||||||
}
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
|
|
||||||
.fr-container
|
.fr-container
|
||||||
%h1.fr-h2
|
%h1.fr-h4
|
||||||
Historique des dossiers supprimés
|
Historique des dossiers supprimés
|
||||||
|
|
||||||
.fr-container
|
.fr-container
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
%nav.fr-breadcrumb.mt-0{ role: "navigation", aria: { label: t('you_are_here', scope: [:layouts, :breadcrumb]) } }
|
%nav.fr-mb-0.fr-breadcrumb.mt-0{ role: "navigation", aria: { label: t('you_are_here', scope: [:layouts, :breadcrumb]) } }
|
||||||
%button.fr-breadcrumb__button{ aria: { expanded: "false", controls: "breadcrumb-1" } }
|
%button.fr-breadcrumb__button{ aria: { expanded: "false", controls: "breadcrumb-1" } }
|
||||||
= t('show', scope: [:layouts, :breadcrumb])
|
= t('show', scope: [:layouts, :breadcrumb])
|
||||||
|
|
||||||
|
@ -7,39 +7,7 @@
|
||||||
%li= link_to t('root', scope: [:layouts, :breadcrumb]), root_path, class: 'fr-breadcrumb__link'
|
%li= link_to t('root', scope: [:layouts, :breadcrumb]), root_path, class: 'fr-breadcrumb__link'
|
||||||
|
|
||||||
- steps.each.with_index do |step, i|
|
- steps.each.with_index do |step, i|
|
||||||
- if i == 0
|
- if i == steps.size - 1
|
||||||
%li= link_to "#{step[0]} - Suivi des dossiers", step[1], class: 'fr-breadcrumb__link'
|
%li= link_to step[0], '', { aria: { current: "page" } , class: 'fr-breadcrumb__link' }
|
||||||
- else
|
- else
|
||||||
%li= link_to step[0], step[1], class: 'fr-breadcrumb__link'
|
%li= link_to "#{step[0]} - Suivi des dossiers", step[1], class: 'fr-breadcrumb__link'
|
||||||
|
|
||||||
- if defined?(metadatas)
|
|
||||||
.metadatas.pb-3
|
|
||||||
%h1.fr-h6.fr-mb-1w
|
|
||||||
= @procedure.libelle
|
|
||||||
|
|
||||||
- if @procedure.close?
|
|
||||||
.flex
|
|
||||||
%span.fr-badge.fr-badge--warning.fr-mr-1w
|
|
||||||
= t('closed', scope: [:layouts, :breadcrumb])
|
|
||||||
= t('since', scope: [:layouts, :breadcrumb], date: l(@procedure.closed_at.to_date))
|
|
||||||
|
|
||||||
- elsif @procedure.locked?
|
|
||||||
= link_to commencer_url(@procedure.path), commencer_url(@procedure.path), class: "fr-link"
|
|
||||||
.flex.fr-mt-1w
|
|
||||||
|
|
||||||
- if @procedure.api_entreprise_token_expired_or_expires_soon?
|
|
||||||
%span.fr-badge.fr-badge--error.fr-mr-1w
|
|
||||||
= t('to_modify', scope: [:layouts, :breadcrumb])
|
|
||||||
|
|
||||||
%span.fr-badge.fr-badge--success.fr-mr-1w
|
|
||||||
= t('published', scope: [:layouts, :breadcrumb])
|
|
||||||
= t('since', scope: [:layouts, :breadcrumb], number: @procedure.id, date: l(@procedure.published_at.to_date))
|
|
||||||
|
|
||||||
- else
|
|
||||||
%p.fr-mb-1w
|
|
||||||
= t('more_info_on_test', scope: [:layouts, :breadcrumb])
|
|
||||||
= link_to t('go_to_FAQ', scope: [:layouts, :breadcrumb]), t("url_FAQ", scope: [:layouts, :breadcrumb]), title: new_tab_suffix(t('go_to_FAQ', scope: [:layouts, :breadcrumb]))
|
|
||||||
.flex
|
|
||||||
%span.fr-badge.fr-badge--new.fr-mr-1w
|
|
||||||
= t('draft', scope: [:layouts, :breadcrumb])
|
|
||||||
= t('since', scope: [:layouts, :breadcrumb], number: @procedure.id, date: l(@procedure.created_at.to_date))
|
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
locals: { procedure: @procedure }
|
locals: { procedure: @procedure }
|
||||||
|
|
||||||
.container
|
.container
|
||||||
%h1.mb-2 Téléchargement mensuel
|
%h1.mb-2.fr-h4 Téléchargement mensuel
|
||||||
|
|
||||||
= render partial: "shared/archives/notice"
|
= render partial: "shared/archives/notice"
|
||||||
= render partial: "shared/archives/table", locals: {count_dossiers_termines_by_month: @count_dossiers_termines_by_month, archives: @archives, average_dossier_weight: @average_dossier_weight, procedure: @procedure }
|
= render partial: "shared/archives/table", locals: {count_dossiers_termines_by_month: @count_dossiers_termines_by_month, archives: @archives, average_dossier_weight: @average_dossier_weight, procedure: @procedure }
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
locals: { procedure: @procedure }
|
locals: { procedure: @procedure }
|
||||||
|
|
||||||
.fr-container.groupe-instructeur
|
.fr-container.groupe-instructeur
|
||||||
%h1 Gestion des instructeurs
|
%h1.fr-h4 Gestion des instructeurs
|
||||||
.card
|
.card
|
||||||
%h2.fr-h3 Liste des groupes
|
%h2.fr-h3 Liste des groupes
|
||||||
%table.table.mt-2
|
%table.table.mt-2
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
.fr-nav__item.relative{ class: ('section-active' if current_nav_section == 'procedure_management') }
|
.fr-nav__item.relative{ class: ('section-active' if current_nav_section == 'procedure_management') }
|
||||||
%button.account-btn.fr-translate__btn.fr-btn.fr-btn--tertiary.fr-btn--no-border.fr-text--md{ "aria-controls" => "procedure-management", "aria-expanded" => "false", style: "box-shadow: none; background: none;" }
|
%button.account-btn.fr-translate__btn.fr-btn.fr-btn--tertiary.fr-btn--no-border.fr-text--md{ "aria-controls" => "procedure-management", "aria-expanded" => "false", style: "box-shadow: none; background: none;" }
|
||||||
= t('instructeurs.dossiers.header.banner.procedure_management')
|
= t('instructeurs.dossiers.header.banner.procedure_management')
|
||||||
#procedure-management.fr-collapse.fr-menu.absolute
|
#procedure-management.fr-collapse.fr-menu
|
||||||
%ul.fr-menu__list
|
%ul.fr-menu__list
|
||||||
%li
|
%li
|
||||||
= link_to t('instructeurs.dossiers.header.banner.administrators_list'), administrateurs_instructeur_procedure_path(procedure), class: 'fr-nav__link'
|
= link_to t('instructeurs.dossiers.header.banner.administrators_list'), administrateurs_instructeur_procedure_path(procedure), class: 'fr-nav__link'
|
||||||
|
@ -29,7 +29,7 @@
|
||||||
.fr-nav__item.relative{ class: ('section-active' if current_nav_section == 'user_support') }
|
.fr-nav__item.relative{ class: ('section-active' if current_nav_section == 'user_support') }
|
||||||
%button.account-btn.fr-translate__btn.fr-btn.fr-btn--tertiary.fr-btn--no-border.fr-text--md{ "aria-controls" => "user-support", "aria-expanded" => "false", style: "box-shadow: none; background: none;" }
|
%button.account-btn.fr-translate__btn.fr-btn.fr-btn--tertiary.fr-btn--no-border.fr-text--md{ "aria-controls" => "user-support", "aria-expanded" => "false", style: "box-shadow: none; background: none;" }
|
||||||
= t('instructeurs.dossiers.header.banner.user_support')
|
= t('instructeurs.dossiers.header.banner.user_support')
|
||||||
#user-support.fr-collapse.fr-menu.absolute
|
#user-support.fr-collapse.fr-menu
|
||||||
%ul.fr-menu__list
|
%ul.fr-menu__list
|
||||||
%li
|
%li
|
||||||
= link_to t('instructeurs.dossiers.header.banner.contact_users'), email_usagers_instructeur_procedure_path(procedure), class: 'fr-nav__link'
|
= link_to t('instructeurs.dossiers.header.banner.contact_users'), email_usagers_instructeur_procedure_path(procedure), class: 'fr-nav__link'
|
||||||
|
@ -42,7 +42,7 @@
|
||||||
.fr-nav__item.relative{ class: ('section-active' if current_nav_section == 'downloads') }
|
.fr-nav__item.relative{ class: ('section-active' if current_nav_section == 'downloads') }
|
||||||
%button.account-btn.fr-translate__btn.fr-btn.fr-btn--tertiary.fr-btn--no-border.fr-text--md{ "aria-controls" => "downloads", "aria-expanded" => "false", style: "box-shadow: none; background: none;" }
|
%button.account-btn.fr-translate__btn.fr-btn.fr-btn--tertiary.fr-btn--no-border.fr-text--md{ "aria-controls" => "downloads", "aria-expanded" => "false", style: "box-shadow: none; background: none;" }
|
||||||
= t('instructeurs.dossiers.header.banner.downloads')
|
= t('instructeurs.dossiers.header.banner.downloads')
|
||||||
#downloads.fr-collapse.fr-menu.absolute
|
#downloads.fr-collapse.fr-menu
|
||||||
%ul.fr-menu__list
|
%ul.fr-menu__list
|
||||||
%li
|
%li
|
||||||
= link_to t('instructeurs.dossiers.header.banner.exports_list'), exports_instructeur_procedure_path(procedure), class: 'fr-nav__link'
|
= link_to t('instructeurs.dossiers.header.banner.exports_list'), exports_instructeur_procedure_path(procedure), class: 'fr-nav__link'
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
= render partial: 'instructeurs/procedures/header',
|
= render partial: 'instructeurs/procedures/header',
|
||||||
locals: { procedure: @procedure }
|
locals: { procedure: @procedure }
|
||||||
.container
|
.container
|
||||||
%h1
|
%h1.fr-h4
|
||||||
= t('instructeurs.procedures.administrators_list.title', procedure_id: @procedure.id, procedure_libelle: @procedure.libelle)
|
= t('instructeurs.procedures.administrators_list.title', procedure_id: @procedure.id, procedure_libelle: @procedure.libelle)
|
||||||
|
|
||||||
%ul
|
%ul
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
|
|
||||||
|
|
||||||
.fr-container
|
.fr-container
|
||||||
%h1.fr-h3
|
%h1.fr-h4
|
||||||
= t('.title')
|
= t('.title')
|
||||||
|
|
||||||
= form_for @assign_to, url: update_email_notifications_instructeur_procedure_path(@procedure), html: { class: 'form' } do |form|
|
= form_for @assign_to, url: update_email_notifications_instructeur_procedure_path(@procedure), html: { class: 'form' } do |form|
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
locals: { procedure: @procedure }
|
locals: { procedure: @procedure }
|
||||||
|
|
||||||
.messagerie.fr-container
|
.messagerie.fr-container
|
||||||
%h1= t('instructeurs.dossiers.header.banner.contact_users')
|
%h1.fr-h4= t('instructeurs.dossiers.header.banner.contact_users')
|
||||||
%p.fr-highlight
|
%p.fr-highlight
|
||||||
= t('.hint', count: @dossiers_without_groupe_count).html_safe
|
= t('.hint', count: @dossiers_without_groupe_count).html_safe
|
||||||
|
|
||||||
|
|
|
@ -1,10 +1,6 @@
|
||||||
- title = "Exports · #{@procedure.libelle}"
|
- title = "Exports · #{@procedure.libelle}"
|
||||||
- content_for(:title, title)
|
- content_for(:title, title)
|
||||||
|
|
||||||
-# = render partial: 'administrateurs/breadcrumbs',
|
|
||||||
-# locals: { steps: [[@procedure.libelle.truncate_words(10), instructeur_procedure_path(@procedure)],
|
|
||||||
-# [t('.title')]] }
|
|
||||||
|
|
||||||
.sub-header
|
.sub-header
|
||||||
.fr-container.flex.column
|
.fr-container.flex.column
|
||||||
= render partial: 'instructeurs/breadcrumbs',
|
= render partial: 'instructeurs/breadcrumbs',
|
||||||
|
@ -15,6 +11,7 @@
|
||||||
locals: { procedure: @procedure }
|
locals: { procedure: @procedure }
|
||||||
|
|
||||||
.fr-container
|
.fr-container
|
||||||
|
%h1.fr-h4= t('.title')
|
||||||
.fr-tabs.mb-3
|
.fr-tabs.mb-3
|
||||||
%ul.fr-tabs__list{ role: 'tablist' }
|
%ul.fr-tabs__list{ role: 'tablist' }
|
||||||
%li{ role: 'presentation' }
|
%li{ role: 'presentation' }
|
||||||
|
|
|
@ -6,7 +6,8 @@
|
||||||
= render partial: 'instructeurs/breadcrumbs',
|
= render partial: 'instructeurs/breadcrumbs',
|
||||||
locals: { steps: [[@procedure.libelle.truncate_words(10), instructeur_procedure_path(@procedure)]] }
|
locals: { steps: [[@procedure.libelle.truncate_words(10), instructeur_procedure_path(@procedure)]] }
|
||||||
= render partial: 'header', locals: { procedure: @procedure, statut: @statut }
|
= render partial: 'header', locals: { procedure: @procedure, statut: @statut }
|
||||||
|
%hr.fr-mt-1v
|
||||||
|
%h1.fr-h3.fr-mb-0= t('.file_tracking')
|
||||||
.procedure-actions
|
.procedure-actions
|
||||||
- if @can_download_dossiers
|
- if @can_download_dossiers
|
||||||
= render Dossiers::ExportDropdownComponent.new(procedure: @procedure, export_templates: current_instructeur.export_templates_for(@procedure), export_url: method(:download_export_instructeur_procedure_path))
|
= render Dossiers::ExportDropdownComponent.new(procedure: @procedure, export_templates: current_instructeur.export_templates_for(@procedure), export_url: method(:download_export_instructeur_procedure_path))
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
.fr-container.fr-my-4w
|
.fr-container.fr-my-4w
|
||||||
%h1= title
|
%h1.fr-h4= title
|
||||||
.fr-grid-row.fr-grid-row--gutters
|
.fr-grid-row.fr-grid-row--gutters
|
||||||
- if @usual_traitement_time.present?
|
- if @usual_traitement_time.present?
|
||||||
.fr-col-xs-12
|
.fr-col-xs-12
|
||||||
|
|
|
@ -13,6 +13,8 @@ en:
|
||||||
dossiers_close_to_expiration: expiring
|
dossiers_close_to_expiration: expiring
|
||||||
dossiers_supprimes: recently deleted
|
dossiers_supprimes: recently deleted
|
||||||
copy_link_button: Copy the procedure link to clipboard
|
copy_link_button: Copy the procedure link to clipboard
|
||||||
|
show:
|
||||||
|
file_tracking: File tracking
|
||||||
email_usagers:
|
email_usagers:
|
||||||
hint:
|
hint:
|
||||||
zero: "There is no user with a draft."
|
zero: "There is no user with a draft."
|
||||||
|
|
|
@ -13,6 +13,8 @@ fr:
|
||||||
dossiers_close_to_expiration: expirant
|
dossiers_close_to_expiration: expirant
|
||||||
dossiers_supprimes: supprimés
|
dossiers_supprimes: supprimés
|
||||||
copy_link_button: Copier le lien de la démarche dans le presse-papiers
|
copy_link_button: Copier le lien de la démarche dans le presse-papiers
|
||||||
|
show:
|
||||||
|
file_tracking: Suivi des dossiers
|
||||||
email_usagers:
|
email_usagers:
|
||||||
hint:
|
hint:
|
||||||
zero: "Aucun usager n'a de dossier en brouillon."
|
zero: "Aucun usager n'a de dossier en brouillon."
|
||||||
|
@ -20,4 +22,3 @@ fr:
|
||||||
other: "Vous allez envoyer un message à <strong>%{count}</strong> usagers ayant un dossier en brouillon."
|
other: "Vous allez envoyer un message à <strong>%{count}</strong> usagers ayant un dossier en brouillon."
|
||||||
administrators_list:
|
administrators_list:
|
||||||
title: Administrateurs de la démarche
|
title: Administrateurs de la démarche
|
||||||
|
|
||||||
|
|
|
@ -10,7 +10,9 @@ describe "procedure exports" do
|
||||||
Flipper.enable(:export_template, procedure)
|
Flipper.enable(:export_template, procedure)
|
||||||
visit instructeur_procedure_path(procedure)
|
visit instructeur_procedure_path(procedure)
|
||||||
|
|
||||||
click_on "Voir les exports et modèles d'export"
|
find("button", text: "Téléchargements").click
|
||||||
|
|
||||||
|
click_on "Liste des exports"
|
||||||
|
|
||||||
click_on "Modèles d'export"
|
click_on "Modèles d'export"
|
||||||
|
|
||||||
|
|
|
@ -9,7 +9,9 @@ describe "procedure exports zip" do
|
||||||
scenario "create an export_template zip", chome: true do
|
scenario "create an export_template zip", chome: true do
|
||||||
visit instructeur_procedure_path(procedure)
|
visit instructeur_procedure_path(procedure)
|
||||||
|
|
||||||
click_on "Voir les exports et modèles d'export"
|
find("button", text: "Téléchargements").click
|
||||||
|
|
||||||
|
click_on "Liste des exports"
|
||||||
|
|
||||||
click_on "Modèles d'export"
|
click_on "Modèles d'export"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue