From d3cfb7bf6cdde68062e48c02db4021a1bf788cab Mon Sep 17 00:00:00 2001
From: Armand Bahi <armand.bahi@veremes.com>
Date: Fri, 28 Dec 2018 15:44:09 +0100
Subject: [PATCH] Ajout exceptions

---
 .../externs/studio/templates/ElementForm.html         | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)

diff --git a/src/vitis/client/javascript/externs/studio/templates/ElementForm.html b/src/vitis/client/javascript/externs/studio/templates/ElementForm.html
index 0391c838..d0dd894d 100755
--- a/src/vitis/client/javascript/externs/studio/templates/ElementForm.html
+++ b/src/vitis/client/javascript/externs/studio/templates/ElementForm.html
@@ -2183,7 +2183,13 @@
                 <div ng-if="model.type != 'undefined'">
                     <label>{{::ctrl.text.Component.Select.Advanced}}</label>
                     <!-- Valeur -->
-                    <div class="input-group element-margin input-group-xs">
+                    <div ng-if="model.type != 'file_wsdata' &&
+                                model.type != 'image_wsdata' &&
+                                model.type != 'bo_grid' &&
+                                model.type != 'section_grid' &&
+                                model.type != 'button' &&
+                                model.type != 'hr'"
+                        class="input-group element-margin input-group-xs">
                         <span id="Element_Form_dynamic_value_label" class="input-group-addon">{{::ctrl.text.Component.General.Value}}</span>
                         <input ng-disabled="locker"
                                     ng-model="model.dynamic_value"
@@ -2195,7 +2201,8 @@
                                     data-text="{{::ctrl.text.Component.General.ValueHelp}}">
                     </div>
                     <!-- Champ visible -->
-                    <div class="input-group element-margin input-group-xs">
+                    <div ng-if="model.type != 'hidden'"
+                        class="input-group element-margin input-group-xs">
                         <span id="Element_Form_visible_label" class="input-group-addon">{{::ctrl.text.Component.General.Visible}}</span>
                         <input ng-disabled="locker"
                                     ng-model="model.visible"
-- 
GitLab