Skip to content

Instantly share code, notes, and snippets.

@denzo
Last active November 26, 2017 02:09
Show Gist options
  • Save denzo/7080f5969173ffac7b1c0261fbbf1b3b to your computer and use it in GitHub Desktop.
Save denzo/7080f5969173ffac7b1c0261fbbf1b3b to your computer and use it in GitHub Desktop.
...
{{#if (eq model.status 0)}}
{{#sc-button onClick=(action "startAction")}}Mark As In Progress{{/sc-button}}
{{else if (eq model.status 10)}}
{{#sc-button onClick=(action "setStatus" 50)}}Mark As Done{{/sc-button}}
{{/if}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment