travis-web/assets/scripts/app/templates/status_images.hbs
Piotr Sarnacki 66be22af68 Fix actions on views
Almost all actions on views were not properly handled, because they were still
methods directly on a view object rather than in `actions` property. This commit
fixes it.
2014-12-29 18:17:55 +01:00

15 lines
571 B
Handlebars

<a href="#" class="close" {{action "close" target=view}}></a>
<p>
<label>Branch:</label>
{{#if view.branches.isLoaded}}
{{view Ember.Select contentBinding="view.branches" selectionBinding="view.statusImageBranch" optionLabelPath="content.commit.branch" optionValuePath="content.commit.branch"}}
{{else}}
<span class="loading"></span>
{{/if}}
</p>
<p>
<label>{{view Ember.Select contentBinding="view.formats" selectionBinding="view.statusImageFormat"}}</label>
{{view Travis.StatusImageInput valueBinding="view.statusString" class="url" rows=3}}
</p>