##// END OF EJS Templates
Merge pull request #3779 from minrk/new...
Merge pull request #3779 from minrk/new remove bad `if logged_in` preventing new-notebook without login Min's mistake :-)

File last commit:

r11086:c137395d
r11693:759e1edc merge
Show More
align_reveal_cells.tpl
17 lines | 411 B | application/vnd.groove-tool-template | SmartyLexer
damianavila
Added changes to understand alignment metadata for each cells.
r10947 {%- extends 'reveal_cells.tpl' -%}
{%- 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 -%}