display_priority.tpl
40 lines
| 1.3 KiB
| application/vnd.groove-tool-template
|
SmartyLexer
Matthias BUSSONNIER
|
r9599 | {%- extends 'null.tpl' -%} | ||
{#display data priority#} | ||||
{%- block data_priority scoped -%} | ||||
MinRK
|
r18589 | {%- for type in output.data | filter_data_type -%} | ||
MinRK
|
r18580 | {%- if type == 'application/pdf' -%} | ||
Matthias BUSSONNIER
|
r9599 | {%- block data_pdf -%} | ||
{%- endblock -%} | ||||
MinRK
|
r18580 | {%- elif type == 'image/svg+xml' -%} | ||
Matthias BUSSONNIER
|
r9599 | {%- block data_svg -%} | ||
{%- endblock -%} | ||||
MinRK
|
r18580 | {%- elif type == 'image/png' -%} | ||
Matthias BUSSONNIER
|
r9599 | {%- block data_png -%} | ||
{%- endblock -%} | ||||
MinRK
|
r18580 | {%- elif type == 'text/html' -%} | ||
Matthias BUSSONNIER
|
r9599 | {%- block data_html -%} | ||
{%- endblock -%} | ||||
Min RK
|
r19918 | {%- elif type == 'text/markdown' -%} | ||
{%- block data_markdown -%} | ||||
{%- endblock -%} | ||||
MinRK
|
r18580 | {%- elif type == 'image/jpeg' -%} | ||
Matthias BUSSONNIER
|
r9599 | {%- block data_jpg -%} | ||
{%- endblock -%} | ||||
MinRK
|
r18580 | {%- elif type == 'text/plain' -%} | ||
Matthias BUSSONNIER
|
r9599 | {%- block data_text -%} | ||
{%- endblock -%} | ||||
MinRK
|
r18580 | {%- elif type == 'text/latex' -%} | ||
Matthias BUSSONNIER
|
r9599 | {%- block data_latex -%} | ||
{%- endblock -%} | ||||
MinRK
|
r18580 | {%- elif type == 'application/javascript' -%} | ||
MinRK
|
r12446 | {%- block data_javascript -%} | ||
{%- endblock -%} | ||||
MinRK
|
r18580 | {%- else -%} | ||
{%- block data_other -%} | ||||
{%- endblock -%} | ||||
MinRK
|
r12446 | {%- endif -%} | ||
Matthias BUSSONNIER
|
r9599 | {%- endfor -%} | ||
{%- endblock data_priority -%} | ||||