Merge pull request #2689 from betagouv/fix-2611-admin
Correctif mineur de texte dans le menu admin et la page "publication"…
This commit is contained in:
commit
2e581e3549
2 changed files with 1 additions and 44 deletions
|
@ -76,49 +76,6 @@
|
||||||
Cette démarche n’a pas encore de lien, et n’est donc pas accessible par le public.
|
Cette démarche n’a pas encore de lien, et n’est donc pas accessible par le public.
|
||||||
|
|
||||||
%br
|
%br
|
||||||
%h3 Détails
|
|
||||||
|
|
||||||
.row{ style: 'margin-right: 3%; margin-left: 3%;' }
|
|
||||||
.description.col-xs-6.col-md-3.procedure-description
|
|
||||||
%h4.text-info
|
|
||||||
= @procedure.libelle
|
|
||||||
|
|
||||||
= h string_to_html(@procedure.description)
|
|
||||||
|
|
||||||
.champs.col-xs-6.col-md-3
|
|
||||||
%h4.text-info
|
|
||||||
Champs
|
|
||||||
.badge.progress-bar-info
|
|
||||||
= @procedure.types_de_champ.size
|
|
||||||
%ul
|
|
||||||
- @procedure.types_de_champ.order(:order_place).each do |champ|
|
|
||||||
%li= champ.libelle
|
|
||||||
|
|
||||||
.champs_private.col-xs-6.col-md-3
|
|
||||||
%h4.text-info
|
|
||||||
Annotations privées
|
|
||||||
.badge.progress-bar-info
|
|
||||||
= @procedure.types_de_champ_private.size
|
|
||||||
%ul
|
|
||||||
- @procedure.types_de_champ_private.order(:order_place).each do |champ|
|
|
||||||
%li= champ.libelle
|
|
||||||
|
|
||||||
.pieces-justificatives.col-xs-6.col-md-3
|
|
||||||
%h4.text-info
|
|
||||||
Pièces jointes
|
|
||||||
.badge.progress-bar-info
|
|
||||||
= @procedure.types_de_piece_justificative.size
|
|
||||||
- @procedure.types_de_piece_justificative.each do |piece_justificative|
|
|
||||||
= piece_justificative.libelle
|
|
||||||
%br
|
|
||||||
|
|
||||||
- durees_de_conservation = politiques_conservation_de_donnees(@procedure)
|
|
||||||
- if durees_de_conservation.present?
|
|
||||||
.row{ style: 'margin-right: 3%; margin-left: 3%;' }
|
|
||||||
.col-xs-6.col-md-3
|
|
||||||
%h4.text-info Conservation des données
|
|
||||||
- durees_de_conservation.each do |text|
|
|
||||||
%p= text
|
|
||||||
|
|
||||||
- if @procedure.publiee_ou_archivee?
|
- if @procedure.publiee_ou_archivee?
|
||||||
%h3 Supprimer la démarche
|
%h3 Supprimer la démarche
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
#procedure-list
|
#procedure-list
|
||||||
%a#onglet-infos{ href: url_for(admin_procedure_path(@procedure)) }
|
%a#onglet-infos{ href: url_for(admin_procedure_path(@procedure)) }
|
||||||
.procedure-list-element{ class: ('active' if active == 'Informations') }
|
.procedure-list-element{ class: ('active' if active == 'Informations') }
|
||||||
Informations
|
Publication
|
||||||
|
|
||||||
%a#onglet-services{ href: current_administrateur.services.present? ? url_for(services_path(procedure_id: @procedure.id)) : url_for(new_service_path(procedure_id: @procedure.id)) }
|
%a#onglet-services{ href: current_administrateur.services.present? ? url_for(services_path(procedure_id: @procedure.id)) : url_for(new_service_path(procedure_id: @procedure.id)) }
|
||||||
.procedure-list-element
|
.procedure-list-element
|
||||||
|
|
Loading…
Add table
Reference in a new issue