##// END OF EJS Templates
AttributeError check on config no longer works...
AttributeError check on config no longer works use new `'Class.trait' in config` check

File last commit:

r12446:5e1c0618
r12796:7242f6a1
Show More
display_priority.tpl
41 lines | 1.1 KiB | application/vnd.groove-tool-template | SmartyLexer
Matthias BUSSONNIER
try to play with data display priority
r9599 {%- extends 'null.tpl' -%}
{#display data priority#}
{%- block data_priority scoped -%}
{%- for type in output | filter_data_type -%}
{%- if type in ['pdf']%}
{%- block data_pdf -%}
{%- endblock -%}
{%- endif -%}
{%- if type in ['svg']%}
{%- block data_svg -%}
{%- endblock -%}
{%- endif -%}
{%- if type in ['png']%}
{%- block data_png -%}
{%- endblock -%}
{%- endif -%}
{%- if type in ['html']%}
{%- block data_html -%}
{%- endblock -%}
{%- endif -%}
{%- if type in ['jpeg']%}
{%- block data_jpg -%}
{%- endblock -%}
{%- endif -%}
{%- if type in ['text']%}
{%- block data_text -%}
{%- endblock -%}
{%- endif -%}
{%- if type in ['latex']%}
{%- block data_latex -%}
{%- endblock -%}
{%- endif -%}
MinRK
add missing data_javascript...
r12446 {%- if type in ['javascript']%}
{%- block data_javascript -%}
{%- endblock -%}
{%- endif -%}
Matthias BUSSONNIER
try to play with data display priority
r9599 {%- endfor -%}
{%- endblock data_priority -%}