##// END OF EJS Templates
Remove manually written scripts
Remove manually written scripts

File last commit:

r11770:6b8a9d57
r13453:4f513f20
Show More
align_reveal_cells.tpl
16 lines | 427 B | application/vnd.groove-tool-template | SmartyLexer
damianavila
Organized reveal's templates.
r11677 {%- extends 'reveal_internals/reveal_cells.tpl' -%}
damianavila
Added changes to understand alignment metadata for each cells.
r10947
{%- block any_cell scoped -%}
{%- if cell.metadata.align_type in ['Left'] -%}
{{ super() }}
{%- elif cell.metadata.align_type in ['center'] -%}
<div style="text-align:center">
{{ super() }}
</div>
{%- elif cell.metadata.align_type in ['right'] -%}
<div style="text-align:right">
{{ super() }}
</div>
{%- endif -%}
{%- endblock any_cell -%}