forked from extern/egroupware
Sub-templates go first in the file so they get loaded in time
This commit is contained in:
parent
eb397b4165
commit
960b06536e
@ -9,9 +9,21 @@ Tracker:
|
|||||||
gender (selectbox with Male/Female)
|
gender (selectbox with Male/Female)
|
||||||
|
|
||||||
Include it into the normal edit template with:
|
Include it into the normal edit template with:
|
||||||
<template id="infolog.entry_test" group="test"/>
|
<template id="infolog.entry_test"/>
|
||||||
-->
|
-->
|
||||||
<overlay>
|
<overlay>
|
||||||
|
<template id="infolog.entry_test.Thorsby.locality">
|
||||||
|
<vbox>
|
||||||
|
<description value="THORSBY"/>
|
||||||
|
<contact-account value="info_modifier" id="info_modifier_fn" options="n_fn" label="Modifier full name:"/>
|
||||||
|
</vbox>
|
||||||
|
</template>
|
||||||
|
<template id="infolog.entry_test.Kaiserslautern.locality">
|
||||||
|
<vbox>
|
||||||
|
<description value="KAISERSLAUTERN"/>
|
||||||
|
<contact-account value="info_modifier" id="info_modifier_fn" options="n_fn" label="Modifier full name:"/>
|
||||||
|
</vbox>
|
||||||
|
</template>
|
||||||
<template id="infolog.entry_test" lang="" group="0" version="1.9">
|
<template id="infolog.entry_test" lang="" group="0" version="1.9">
|
||||||
<vbox>
|
<vbox>
|
||||||
<!-- These are all the same -->
|
<!-- These are all the same -->
|
||||||
@ -35,7 +47,6 @@ Include it into the normal edit template with:
|
|||||||
<infolog-value id="is_tracker_male" value="info_id" field="#tracker/#gender" label="Tracker gender cf:"/>
|
<infolog-value id="is_tracker_male" value="info_id" field="#tracker/#gender" label="Tracker gender cf:"/>
|
||||||
<tracker-value id="#tracker" field="#gender" compare="Male" class="bill_11m" label="Tracker gender is Male:"/>
|
<tracker-value id="#tracker" field="#gender" compare="Male" class="bill_11m" label="Tracker gender is Male:"/>
|
||||||
<tracker-value id="#tracker" field="#gender" compare="Female" class="bill_11f" label="Tracker gender is Female:"/>
|
<tracker-value id="#tracker" field="#gender" compare="Female" class="bill_11f" label="Tracker gender is Female:"/>
|
||||||
<contact-account value="info_modifier" id="info_modifier_fn" options="n_fn" label="Modifier full name:"/>
|
|
||||||
<hrule/>
|
<hrule/>
|
||||||
|
|
||||||
<description value="A whole template based on modifier's town (Thorsby or Kaiserslautern)"/>
|
<description value="A whole template based on modifier's town (Thorsby or Kaiserslautern)"/>
|
||||||
@ -43,10 +54,4 @@ Include it into the normal edit template with:
|
|||||||
|
|
||||||
</vbox>
|
</vbox>
|
||||||
</template>
|
</template>
|
||||||
<template id="infolog.entry_test.Thorsby.locality">
|
|
||||||
<description value="THORSBY"/>
|
|
||||||
</template>
|
|
||||||
<template id="infolog.entry_test.Kaiserslautern.locality">
|
|
||||||
<description value="KAISERSLAUTERN"/>
|
|
||||||
</template>
|
|
||||||
</overlay>
|
</overlay>
|
||||||
|
Loading…
Reference in New Issue
Block a user