##// END OF EJS Templates
cleanup some `pre` css inheritance...
cleanup some `pre` css inheritance We had various overrides of the bootstrap defaults for font-size and line-height every time we made a pre tag, and then some overrides of our overrides when we wanted something slightly different. This moves the most basic overrides to apply to all pre tags, reducing the number of downstream changes we need.

File last commit:

r15383:6753f61a
r16205:2fd8ab24
Show More
display_priority.tpl
41 lines | 1.2 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 -%}
MinRK
remove inappropriate 'pdf' key...
r15383 {%- if type in ['application/pdf']%}
Matthias BUSSONNIER
try to play with data display priority
r9599 {%- 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 -%}