Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision c8a25928

Von Moritz Bunkus vor fast 10 Jahren hinzugefügt

  • ID c8a25928444f4b6ccc40e73c37119a3c11d1325b
  • Vorgänger 36b7bf7b
  • Nachfolger 8c4f656c

Pflichtenheft-CVar-Suche: Controls für Vergleichsoperatoren beibehalten

Unterschiede anzeigen:

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