Revision ee622381
Von Werner Hahn vor fast 2 Jahren hinzugefügt
templates/design40_webpages/custom_variable_config/form.html | ||
---|---|---|
101 | 101 |
%] |
102 | 102 |
</td> |
103 | 103 |
</tr> |
104 |
<tr data-show-for="IC"[% UNLESS SELF.module == 'IC' %] style="display: none;"[% END %]> |
|
105 |
<td>[% 'Display in basic data tab' | $T8 %]</td> |
|
106 |
<td class="horizontal"> |
|
107 |
[% L.radio_button_tag('config.first_tab', value='1', id='config.first_tab', label=LxERP.t8('Yes'), checked=(SELF.config.first_tab ? 1 : '')) %] |
|
108 |
[% L.radio_button_tag('config.first_tab', value='0', id='config.first_tab', label=LxERP.t8('No'), checked=(SELF.config.first_tab ? '' : 1)) %] |
|
109 |
</td> |
|
110 |
</tr> |
|
104 | 111 |
</tbody> |
105 | 112 |
</table> |
106 | 113 |
|
... | ... | |
115 | 122 |
<li><sup>(3)</sup> [% 'For type "customer" the perl module JSON is required. Please check this on system level: $ ./scripts/installation_check.pl' | $T8 %]</li> |
116 | 123 |
<li><sup>(4)</sup> [% 'The default value depends on the variable type:' | $T8 %] |
117 | 124 |
<ul> |
118 |
<li>[% 'Text, text field and number variables: The default value will be used as-is.' | $T8 %]</li> |
|
125 |
<li>[% 'Text, text field, HTML field and number variables: The default value will be used as-is.' | $T8 %]</li>
|
|
119 | 126 |
<li>[% 'Boolean variables: If the default value is non-empty then the checkbox will be checked by default and unchecked otherwise.' | $T8 %]</li> |
120 | 127 |
<li>[% 'Date and timestamp variables: If the default value equals \'NOW\' then the current date/current timestamp will be used. Otherwise the default value is copied as-is.' | $T8 %]</li> |
121 | 128 |
</ul> |
... | ... | |
123 | 130 |
<li><sup>(5)</sup> [% 'The available options depend on the varibale type:' | $T8 %] |
124 | 131 |
<ul> |
125 | 132 |
<li>[% 'Text variables: \'MAXLENGTH=n\' sets the maximum entry length to \'n\'.' | $T8 %]</li> |
126 |
<li>[% 'Text field variables: \'WIDTH=w HEIGHT=h\' sets the width and height of the text field. They default to 30 and 5 respectively.' | $T8 %]</li> |
|
133 |
<li>[% 'Text field and HTML field variables: \'WIDTH=w HEIGHT=h\' sets the width and height |
|
134 |
of the text field. They default to 225 and 90 respectively.' | $T8 %]</li> |
|
127 | 135 |
<li>[% 'Number variables: \'PRECISION=n\' forces numbers to be shown with exactly n decimal places.' | $T8 %]</li> |
128 | 136 |
<li>[% 'Selection fields: The option field must contain the available options for the selection. Options are separated by \'##\', for example \'Early##Normal##Late\'.' | $T8 %]</li> |
129 | 137 |
</ul> |
Auch abrufbar als: Unified diff
Design 4.0: Benutzerdefinierte Variablen from.html Anpassungen