You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I appear to have run into a bug with nested conditionals - the inner one seemed to be ignored - and I noticed a comment ("resolve the bugs with nested conditionals") here:
I appear to have run into a bug with nested conditionals - the inner one seemed to be ignored - and I noticed a comment ("resolve the bugs with nested conditionals") here:
http://tech.gilt.com/2013/08/29/handlebars-scala-a-handlebars-for-scala
Any plans to fix this, or is there a workaround?
Thanks. Here's my template:
Duration - {{#if durationData.durationDays}}{{#if durationData.pluralDays}}{{durationData.durationDays}} days {{else}}{{durationData.durationDays}} day {{/if}}{{/if}}{{#if durationData.durationHours}}{{#if durationData.pluralHours}}{{durationData.durationHours}} hours {{else}}{{durationData.durationHours}} hour {{/if}}{{/if}}{{#if durationData.durationMinutes}}{{#if durationData.pluralMinutes}}{{durationData.durationMinutes}} minutes{{else}}{{durationData.durationMinutes}} minute{{/if}}{{/if}}.
The text was updated successfully, but these errors were encountered: