File: jinja.html

package info (click to toggle)
python-django-waffle 4.2.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 684 kB
  • sloc: python: 3,266; makefile: 139; sh: 39; javascript: 34
file content (19 lines) | stat: -rw-r--r-- 262 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
{% if waffle.flag('flag') %}
  flag on
{% else %}
  flag off
{% endif %}

{% if waffle.switch('switch') %}
  switch on
{% else %}
  switch off
{% endif %}

{% if waffle.sample('sample') %}
  sample on
{% else %}
  sample off
{% endif %}

{{ waffle.wafflejs() }}