feat(procedure_revision.compate): track and show diff for TypeDeChamp.explication between draft and published revisions
This commit is contained in:
parent
f7feca5fd1
commit
e43c2f1407
6 changed files with 25 additions and 11 deletions
|
@ -9,4 +9,4 @@
|
|||
.fr-collapse{ id: dom_id(@champ, :explanation) }
|
||||
= render SimpleFormatComponent.new(@champ.collapsible_explanation_text, allow_a: true)
|
||||
- if notice_explicative.attached?
|
||||
= render Dsfr::DownloadComponent.new(attachment: notice_explicative, virus_not_analyzed: !notice_explicative.virus_scanner.started?, new_tab: true)
|
||||
= render Dsfr::DownloadComponent.new(attachment: notice_explicative, virus_not_analyzed: !notice_explicative.virus_scanner.started?, new_tab: true)
|
||||
|
|
|
@ -24,6 +24,7 @@ fr:
|
|||
update_drop_down_secondary_description: La description secondaire du champ « %{label} » a été modifiée. La nouvelle description est « %{to} ».
|
||||
update_type_champ: Le type du champ « %{label} » a été modifié. Il est maintenant de type « %{to} ».
|
||||
update_piece_justificative_template: Le modèle de pièce justificative du champ « %{label} » a été modifié.
|
||||
update_notice_explicative: La notice explicative du champ « %{label} » a été modifiée.
|
||||
update_drop_down_options: "Les options de sélection du champ « %{label} » ont été modifiées :"
|
||||
update_drop_down_options_alert: "Le champ « %{label} » est utilisé pour le routage des dossiers. Veuillez mettre à jour la configuration des groupes d'instructeurs après avoir publié les modifications."
|
||||
enable_mandatory: Le champ « %{label} » est maintenant obligatoire.
|
||||
|
@ -59,6 +60,7 @@ fr:
|
|||
update_drop_down_secondary_description: La description secondaire de l’annotation « %{label} » a été modifiée. La nouvelle description est « %{to} ».
|
||||
update_type_champ: Le type de l’annotation privée « %{label} » a été modifié. Elle est maintenant de type « %{to} ».
|
||||
update_piece_justificative_template: Le modèle de pièce justificative de l’annotation privée « %{label} » a été modifié.
|
||||
update_notice_explicative: La notice explicative l’annotation privée « %{label} » a été modifiée.
|
||||
update_drop_down_options: "Les options de sélection de l’annotation privée « %{label} » ont été modifiées :"
|
||||
update_carte_layers: "Les référentiels cartographiques de l’annotation privée « %{label} » ont été modifiés :"
|
||||
enable_drop_down_other: L’annotation privée « %{label} » comporte maintenant un choix « Autre ».
|
||||
|
|
|
@ -59,6 +59,9 @@
|
|||
- when :piece_justificative_template
|
||||
- list.with_item do
|
||||
= t(".#{prefix}.update_piece_justificative_template", label: change.label)
|
||||
- when :notice_explicative
|
||||
- list.with_item do
|
||||
= t(".#{prefix}.update_notice_explicative", label: change.label)
|
||||
- when :drop_down_options
|
||||
- added = change.to.sort - change.from.sort
|
||||
- removed = change.from.sort - change.to.sort
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue