Changes between Version 1 and Version 2 of Ticket #17664, comment 21
- Timestamp:
- Feb 20, 2018, 10:20:25 AM (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #17664, comment 21
v1 v2 20 20 {% if a|length %} 21 21 22 {% if a| |add:"2" %}22 {% if a|add:"2" %} 23 23 24 24 }}} … … 28 28 {{{ 29 29 30 {% if not a %} 31 30 32 {% if a == 1 %} 31 33 32 34 {% if a and a%} 33 35 34 {% if not not a %} 36 }}} 37 38 39 Therefore, 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%} 35 48 36 49 }}} 50 37 51 38 52