2.0.0-beta
BETA RELEASE!
This will break ALL EXISTING TEMPLATE USAGE.
Read the update notes here or read some of the conversion notes below
V1 to V2 conversion (or useful information)
-
You no longer need "Template Dashboards". Make any top-level card in a view on any user-created dashboard a template by adding
ll_key: template_nameto the config.- If you need to choose the order these templates are processed for nested templates you can use
ll_priority: 0. - The templates are sorted by lowest number first, so if you want to use
templateAintemplateB,templateBshould havell_priority: 1to be rendered aftertemplateAhas been added to our collection of available templates.
- If you need to choose the order these templates are processed for nested templates you can use
-
template_dataorll_datamust now be set toll_context -
templatemust now be set toll_template -
ll_keysmostly works still. two tests involving overriding context failed if someone wants to fix them. I'm considering removing this feature entirely. -
To convert an old template data variable,
$example$, just swap the first$to<%=and the second$to%>, and retrieve the variable fromcontext.- example:
<%= context.example %>
- example: