Merge pull request #10755 from demarches-simplifiees/remove_gallery_demande_feature_flag

Technique : retire le feature flag gallery_demande
This commit is contained in:
Eric Leroy-Terquem 2024-09-06 13:00:54 +00:00 committed by GitHub
commit 41ee00ebc3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 2 additions and 3 deletions

View file

@ -1,5 +1,5 @@
.fr-downloads-group
- if profile == 'instructeur' && feature_enabled?(:gallery_demande)
- if profile == 'instructeur'
.gallery-items-list
- champ.piece_justificative_file.attachments.with_all_variant_records.each do |attachment|
.gallery-item

View file

@ -2,7 +2,7 @@
- content_for(:notice_info) do
= render partial: "shared/dossiers/france_connect_informations_notice", locals: { user_information: dossier.user.france_connect_informations.first }
.counter-start-header-section.dossier-show{ class: class_names('gallery': feature_enabled?(:gallery_demande), 'gallery-demande': feature_enabled?(:gallery_demande), "dossier-show-instructeur" => profile =="instructeur"), "data-controller": "lightbox" }
.counter-start-header-section.dossier-show.gallery.gallery-demande{ class: class_names("dossier-show-instructeur" => profile =="instructeur"), "data-controller": "lightbox" }
- if profile == 'instructeur' && dossier.termine_and_accuse_lecture?
= render Dsfr::CalloutComponent.new(title: nil) do |c|

View file

@ -29,7 +29,6 @@ features = [
:export_order_by_revision,
:export_template,
:expression_reguliere_type_de_champ,
:gallery_demande,
:groupe_instructeur_api_hack,
:sva,
:switch_domain