##// END OF EJS Templates
deal with worksheets
deal with worksheets

File last commit:

r9010:bdfd5df8
r9010:bdfd5df8
Show More
basic.tpl
29 lines | 1009 B | application/vnd.groove-tool-template | SmartyLexer
{%- block header -%}
{%- endblock header -%}
{%- block body -%}
{%- for worksheet in worksheets -%}
{%- for cell in worksheet.cells -%}
{%- block any_cell scoped -%}
{%- if cell.type in ['code'] -%}
{%- block codecell scoped-%}
{%- endblock codecell-%}
{%- elif cell.type in ['markdown'] -%}
{%- block markdowncell scoped-%}
{%- endblock markdowncell -%}
{%- elif cell.type in ['heading'] -%}
{%- block headingcell scoped-%}
{%- endblock headingcell -%}
{%- elif cell.type in ['raw'] -%}
{%- block rawcell scoped-%}
{%- endblock rawcell -%}
{%- else -%}
{%- block unknowncell scoped-%}
{%- endblock unknowncell -%}
{%- endif -%}
{%- endblock any_cell -%}
{%- endfor -%}
{%- endfor -%}
{%- endblock body -%}
{%- block footer -%}
{%- endblock footer -%}