Revision c8a25928
Von Moritz Bunkus vor fast 10 Jahren hinzugefügt
templates/webpages/common/render_cvar_filter_input.html | ||
---|---|---|
6 | 6 |
[%- L.select_tag(name__, [ '', [ 1, LxERP.t8('Yes') ], [ 0, LxERP.t8('No') ] ], default=value__, class=cvar_class) %] |
7 | 7 |
|
8 | 8 |
[%- ELSIF cvar_cfg.type == 'number' %] |
9 |
[% L.select_tag(name__ _ '::', [ [ 'eq', '==' ], [ 'ne', '=/=' ], [ 'gt', '>' ], [ 'ge', '>=' ], [ 'lt', '<' ], [ 'le', '<=' ] ]) %] |
|
9 |
[% L.select_tag(name__ _ '::', [ [ 'eq', '==' ], [ 'ne', '=/=' ], [ 'gt', '>' ], [ 'ge', '>=' ], [ 'lt', '<' ], [ 'le', '<=' ] ], default=filter.cvar.item(cvar_cfg.id _ '__')) %]
|
|
10 | 10 |
[% L.input_tag(name__, value__, class=cvar_class) %] |
11 | 11 |
|
12 | 12 |
[%- ELSIF cvar_cfg.type == 'date' %] |
13 |
[% L.select_tag(name__ _ '::', [ [ 'eq', '==' ], [ 'ne', '=/=' ], [ 'gt', '>' ], [ 'ge', '>=' ], [ 'lt', '<' ], [ 'le', '<=' ] ]) %] |
|
13 |
[% L.select_tag(name__ _ '::', [ [ 'eq', '==' ], [ 'ne', '=/=' ], [ 'gt', '>' ], [ 'ge', '>=' ], [ 'lt', '<' ], [ 'le', '<=' ] ], default=filter.cvar.item(cvar_cfg.id _ '__')) %]
|
|
14 | 14 |
[% L.date_tag(name__, value__, class=cvar_class) %] |
15 | 15 |
|
16 | 16 |
[% ELSIF cvar_cfg.type == 'select' %] |
Auch abrufbar als: Unified diff
Pflichtenheft-CVar-Suche: Controls für Vergleichsoperatoren beibehalten