##// END OF EJS Templates
Backport PR #4136: catch javascript errors in any output...
Backport PR #4136: catch javascript errors in any output not just javascript. catches js errors appending anything to the output area, such as js in HTML (#4095). closes #4095

File last commit:

r11086:c137395d
r12464:25546b59
Show More
display_priority.tpl
38 lines | 1.0 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 ['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 -%}
{%- endfor -%}
{%- endblock data_priority -%}