Rangement des inclusion dans inclure/souscription/ : plus clair et evite des risques...
authorCerdic <cedric@yterium.com>
Wed, 11 Dec 2013 08:21:56 +0000 (09:21 +0100)
committerCerdic <cedric@yterium.com>
Wed, 11 Dec 2013 08:21:56 +0000 (09:21 +0100)
15 files changed:
formulaires/configurer_souscription.html
formulaires/editer_souscription_campagne.html
formulaires/inc-souscription-suites.html [moved from formulaires/inc-formulaires-suite.html with 100% similarity]
formulaires/souscription.html
inclure/presentation_type.html [deleted file]
inclure/souscription/avancement-campagne.html [moved from modeles/avancement-campagne.html with 100% similarity]
inclure/souscription/bloc_fiscal_adhesion.html [moved from inclure/souscription_bloc_fiscal_adhesion.html with 100% similarity]
inclure/souscription/bloc_fiscal_don.html [moved from inclure/souscription_bloc_fiscal_don.html with 100% similarity]
inclure/souscription/bloc_fiscal_intro.html [new file with mode: 0644]
inclure/souscription/objectif_atteint.html [moved from inclure/objectif_atteint.html with 100% similarity]
inclure/souscription/presentation_type.html [new file with mode: 0644]
inclure/souscription/presentation_type_adhesion.html [moved from inclure/presentation_type_adhesion.html with 100% similarity]
inclure/souscription/presentation_type_don.html [moved from inclure/presentation_type_don.html with 100% similarity]
inclure/souscription_bloc_fiscal_intro.html [deleted file]
modeles/souscription.html

index 8ff2b97..6d2c2d4 100644 (file)
        </div>
        </form>
 </div>
-<INCLURE{fond=formulaires/inc-formulaires-suite} />
+<INCLURE{fond=formulaires/inc-souscription-suites} />
index 8aee088..e1e12c6 100644 (file)
   </form>
   ]
 </div>
-<INCLURE{fond=formulaires/inc-formulaires-suite} />
+<INCLURE{fond=formulaires/inc-souscription-suites} />
 <script type="application/javascript">
 function up_visibility_montants(){
        var val = jQuery('select[name="type_saisie"]').val();
index af25ba1..f4a73fd 100644 (file)
@@ -45,7 +45,7 @@
              <li class="fieldset suite souscription_bloc_fiscal[(#ENV{#GET{name},#GET{defaut}}|=={#GET{val}}|non)none]">
                      <fieldset>
                              <legend><:souscription:label_legende_bloc_fiscal:></legend>
-                             [(#INCLURE{fond=inclure/souscription_bloc_fiscal_intro,type_souscription=#ENV{type_souscription}})]
+                             [(#INCLURE{fond=inclure/souscription/bloc_fiscal_intro,type_souscription=#ENV{type_souscription}})]
                              <ul>
                                      #SET{name1,prenom}#SET{obli1,'obligatoire'}#SET{defaut1,''}#SET{erreurs1,#ENV**{erreurs}|table_valeur{#GET{name1}}}
                                      #SET{name2,nom}#SET{obli2,'obligatoire'}#SET{defaut2,''}#SET{erreurs2,#ENV**{erreurs}|table_valeur{#GET{name2}}}
diff --git a/inclure/presentation_type.html b/inclure/presentation_type.html
deleted file mode 100644 (file)
index 8b6535f..0000000
+++ /dev/null
@@ -1 +0,0 @@
-[(#INCLURE{fond=#VAL{inclure/presentation_type_}|concat{#ENV{type_objectif}}})]
diff --git a/inclure/souscription/bloc_fiscal_intro.html b/inclure/souscription/bloc_fiscal_intro.html
new file mode 100644 (file)
index 0000000..0ea3a8a
--- /dev/null
@@ -0,0 +1 @@
+[(#INCLURE{fond=#VAL{inclure/souscription/bloc_fiscal_}|concat{#ENV{type_souscription}}})]
diff --git a/inclure/souscription/presentation_type.html b/inclure/souscription/presentation_type.html
new file mode 100644 (file)
index 0000000..725b6b6
--- /dev/null
@@ -0,0 +1 @@
+[(#INCLURE{fond=#VAL{inclure/souscription/presentation_type_}|concat{#ENV{type_objectif}}})]
diff --git a/inclure/souscription_bloc_fiscal_intro.html b/inclure/souscription_bloc_fiscal_intro.html
deleted file mode 100644 (file)
index 42f36f3..0000000
+++ /dev/null
@@ -1 +0,0 @@
-[(#INCLURE{fond=#VAL{inclure/souscription_bloc_fiscal_}|concat{#ENV{type_souscription}}})]
index ecfedc0..ffce4b1 100644 (file)
@@ -1,14 +1,14 @@
 <BOUCLE_campagne(SOUSCRIPTION_CAMPAGNES){id_souscription_campagne=#ENV{campagne}}>
 <div class="souscription">
 <h3>#TITRE</h3>
-[<span class="souscription_type">(#INCLURE{fond=#VAL{inclure/presentation_type},type_objectif=#TYPE_OBJECTIF})</span>]
+[<span class="souscription_type">(#INCLURE{fond=#VAL{inclure/souscription/presentation_type},type_objectif=#TYPE_OBJECTIF})</span>]
 [<div class="souscription_presentation">(#TEXTE)</div>]
-[<div class="souscription_avancement">(#ENV{avancement}|!={non}|?{#MODELE{avancement-campagne,campagne=#ENV{campagne}}})</div>]
+[<div class="souscription_avancement">(#ENV{avancement}|!={non}|?{#INCLURE{fond=inclure/souscription/avancement-campagne,campagne=#ENV{campagne}}})</div>]
 [(#OBJECTIF_LIMITER|non|ou{#OBJECTIF_LIMITER|=={on}|oui|et{#AVANCEMENT_CAMPAGNE|<{#OBJECTIF}|oui}})
 #FORMULAIRE_SOUSCRIPTION{#ENV{campagne}}
 ]
 [(#OBJECTIF_LIMITER|=={on}|oui|et{#AVANCEMENT_CAMPAGNE|<{#OBJECTIF}|non})
-[(#INCLURE{fond=inclure/objectif_atteint,env})]
+[(#INCLURE{fond=inclure/souscription/objectif_atteint,env})]
 ]
 </div>
 </BOUCLE_campagne>