dimanche 7 juin 2015

Meteor templates, check if value equals string

Here's the template structure

{{#each loadedEvents}}
  {{#if future}}
    {{#if timezone="Europe/Warsaw"}}
    {{> event}}
  {{/if}}
{{/each}}

Is that possible to view only items with given value? And the second question, how to combine this two statements:

{{#if future}} {{#if timezone="Europe/Warsaw"}}

Aucun commentaire:

Enregistrer un commentaire