Project

General

Profile

Anomalie #5492

Cas où l'on est obligé d'ajouter le ".value" dans une boucle %for

Added by Joël Cuissinat over 6 years ago. Updated over 6 years ago.

Status:
Fermé
Priority:
Normal
Assigned To:
Category:
-
Start date:
06/10/2013
Due date:
06/14/2013
% Done:

100%

Estimated time:
0.50 h
Spent time:
Distribution:
EOLE 2.4

Description

%for %%ip in %%ip_admin_eth0
 %if %%ip == '0.0.0.0'
all
 %else
%%ip
 %end if
%end for

Dans cet exemple, pour obtenir "all", je dois mettre :

%if %%ip.value == '0.0.0.0'

<gnunux> il manque les eq, neq, ... dans l'objet surement :/


Related issues

Related to eole-proxy - Evolution #5463: Templates à revoir pour EOLE 2.4 Fermé 06/01/2013 06/01/2013

Associated revisions

Revision 04b2b3e5 (diff)
Added by Emmanuel GARETTE over 6 years ago

ajout dans CreoleMaster de eq, ne, lt, le, gt et ge (fixes #5492)

Revision f463fcb3 (diff)
Added by Emmanuel GARETTE over 6 years ago

il ne faut pas avoir accès à value de CreoleMaster, renommage en _value (ref #5492)

History

#1 Updated by Emmanuel GARETTE over 6 years ago

  • Status changed from Nouveau to Résolu
  • % Done changed from 0 to 100

#2 Updated by Joël Cuissinat over 6 years ago

  • Due date set to 06/14/2013
  • Assigned To set to Emmanuel GARETTE
  • Start date set to 06/10/2013

Exemple OK avec creole 2.4.0-137

#3 Updated by Joël Cuissinat over 6 years ago

  • Status changed from Résolu to Fermé

Also available in: Atom PDF