##// END OF EJS Templates
Backport PR #6333: allow slash in root->tree redirect...
Backport PR #6333: allow slash in root->tree redirect - before #6117, only `/base_url/` worked - after #6117, only `/base_url` worked - after this PR, both should work. closes #6329

File last commit:

r15383:6753f61a
r17678:be57e111
Show More
display_priority.tpl
41 lines | 1.2 KiB | application/vnd.groove-tool-template | SmartyLexer
{%- extends 'null.tpl' -%}
{#display data priority#}
{%- block data_priority scoped -%}
{%- for type in output | filter_data_type -%}
{%- if type in ['application/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 -%}
{%- if type in ['javascript']%}
{%- block data_javascript -%}
{%- endblock -%}
{%- endif -%}
{%- endfor -%}
{%- endblock data_priority -%}