Changes between Version 1 and Version 2 of Ticket #17664, comment 21


Ignore:
Timestamp:
Feb 20, 2018, 10:20:25 AM (7 years ago)
Author:
Robert Roskam

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #17664, comment 21

    v1 v2  
    2020{% if a|length %}
    2121
    22 {% if a||add:"2" %}
     22{% if a|add:"2" %}
    2323
    2424}}}
     
    2828{{{
    2929
     30{% if not a %}
     31
    3032{% if a == 1 %}
    3133
    3234{% if a and a%}
    3335
    34 {% if not not a %}
     36}}}
     37
     38
     39Therefore, if you combine them, they get silenced:
     40
     41{{{
     42
     43{% if not a|length %}
     44
     45{% if a|length == 1 %}
     46
     47{% if a and a|length%}
    3548
    3649}}}
     50
    3751
    3852
Back to Top