Champs privés -> Annotations privées

This commit is contained in:
gregoirenovel 2017-04-26 15:15:38 +02:00
parent 77dae0462b
commit 402f44c5fd
4 changed files with 5 additions and 5 deletions

View file

@ -11,7 +11,7 @@ class AdminTypesDeChampFacades
end
def active
@private ? 'Champs privés' : 'Champs'
@private ? 'Annotations privées' : 'Champs'
end
def url

View file

@ -73,7 +73,7 @@
.champs_private.col-xs-6.col-md-3
%h4.text-info
Champs privés
Annotations privées
.badge.progress-bar-info
= @facade.procedure.types_de_champ_private.size
%ul

View file

@ -34,8 +34,8 @@
- unless @procedure.locked?
%a#onglet-private-champs{ :href => "#{url_for admin_procedure_types_de_champ_private_path(@procedure)}" }
.procedure-list-element{ class: ('active' if active == 'Champs privés') }
Champs privés
.procedure-list-element{ class: ('active' if active == 'Annotations privées') }
Annotations privées
%a#onglet-inemailsfos{ :href => "#{url_for admin_procedure_mail_templates_path(@procedure)}" }
.procedure-list-element{ class: ('active' if active == 'E-mails') }

View file

@ -1 +1 @@
= render partial: 'layouts/left_panels/left_panel_admin_procedurescontroller_navbar', locals: { active: "Champs privés" }
= render partial: 'layouts/left_panels/left_panel_admin_procedurescontroller_navbar', locals: { active: "Annotations privées" }