##// END OF EJS Templates
only check for formatters on instances...
only check for formatters on instances use inspect.isclass to disallow unbound methods, not type checking on the method itself

File last commit:

r18589:135227ac
r19026:7658e7aa
Show More
display_priority.tplx
41 lines | 1.3 KiB | text/plain | TextLexer
((= Auto-generated template file, DO NOT edit directly!
To edit this file, please refer to ../../skeleton/README.md =))
((*- extends 'null.tplx' -*))
((=display data priority=))
((*- block data_priority scoped -*))
((*- for type in output.data | filter_data_type -*))
((*- if type == 'application/pdf' -*))
((*- block data_pdf -*))
((*- endblock -*))
((*- elif type == 'image/svg+xml' -*))
((*- block data_svg -*))
((*- endblock -*))
((*- elif type == 'image/png' -*))
((*- block data_png -*))
((*- endblock -*))
((*- elif type == 'text/html' -*))
((*- block data_html -*))
((*- endblock -*))
((*- elif type == 'image/jpeg' -*))
((*- block data_jpg -*))
((*- endblock -*))
((*- elif type == 'text/plain' -*))
((*- block data_text -*))
((*- endblock -*))
((*- elif type == 'text/latex' -*))
((*- block data_latex -*))
((*- endblock -*))
((*- elif type == 'application/javascript' -*))
((*- block data_javascript -*))
((*- endblock -*))
((*- else -*))
((*- block data_other -*))
((*- endblock -*))
((*- endif -*))
((*- endfor -*))
((*- endblock data_priority -*))