update more deprecated syntax
update input action handling
This commit is contained in:
parent
d18715858f
commit
bae81542b9
|
@ -1,6 +1,6 @@
|
||||||
{{#if view.annotations}}
|
{{#if view.annotations}}
|
||||||
<div id="annotations">
|
<div id="annotations">
|
||||||
{{#each annotation in view.annotations}}
|
{{#each view.annotations as |annotation|}}
|
||||||
<div class="annotation">
|
<div class="annotation">
|
||||||
<a href={{annotation.url}}>
|
<a href={{annotation.url}}>
|
||||||
{{annotation.status}} {{annotation.providerName}}
|
{{annotation.status}} {{annotation.providerName}}
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<form {{action "save" on="submit"}}>
|
<form {{action "save" on="submit"}}>
|
||||||
<div class="form-elem">
|
<div class="form-elem">
|
||||||
{{input value=name class="env-name" on="key-up" action="nameChanged" placeholder="Name"}}
|
{{input value=name class="env-name" key-up="nameChanged" placeholder="Name"}}
|
||||||
{{#if nameIsBlank }}
|
{{#if nameIsBlank }}
|
||||||
<p class="form-error-message">Name cannot be blank</p>
|
<p class="form-error-message">Name cannot be blank</p>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
{{#if enabled}}
|
{{#if enabled}}
|
||||||
{{input pattern="/^[0-9]+$/" value=value on="key-up" action="limitChanged"}}
|
{{input pattern="/^[0-9]+$/" value=value key-up="limitChanged"}}
|
||||||
{{/if}}
|
{{/if}}
|
||||||
{{#if isSaving}}
|
{{#if isSaving}}
|
||||||
{{loading-indicator inline=true}}
|
{{loading-indicator inline=true}}
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
</section> --}}
|
</section> --}}
|
||||||
|
|
||||||
<ul class="dashboard-active">
|
<ul class="dashboard-active">
|
||||||
{{#each repo in filteredRepositories}}
|
{{#each filteredRepositories as |repo|}}
|
||||||
{{dashboard-row repo=repo}}
|
{{dashboard-row repo=repo}}
|
||||||
{{else}}
|
{{else}}
|
||||||
{{no-repos}}
|
{{no-repos}}
|
||||||
|
|
|
@ -10,8 +10,8 @@
|
||||||
</thead>
|
</thead>
|
||||||
|
|
||||||
<tbody>
|
<tbody>
|
||||||
{{#each event in view.events}}
|
{{#each view.events as |event|}}
|
||||||
{{#view "events-item" contextBinding="event"}}
|
{{#view "events-item" context="event"}}
|
||||||
<td class="created_at">
|
<td class="created_at">
|
||||||
{{format-time createdAt}}
|
{{format-time createdAt}}
|
||||||
</td>
|
</td>
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
{{#each error in view.errors}}{{error.message}}{{/each}}
|
{{#each view.errors as |error|}}{{error.message}}{{/each}}
|
||||||
|
|
|
@ -26,7 +26,7 @@
|
||||||
</section>
|
</section>
|
||||||
<section class="profile-orgs">
|
<section class="profile-orgs">
|
||||||
<h1>Organizations</h1>
|
<h1>Organizations</h1>
|
||||||
{{#collection "accounts-list" contentBinding="organizations"}}
|
{{#collection "accounts-list" content="organizations"}}
|
||||||
{{#link-to "account" view.account class="name"}}
|
{{#link-to "account" view.account class="name"}}
|
||||||
<div class="media">
|
<div class="media">
|
||||||
<div class="media-elem">
|
<div class="media-elem">
|
||||||
|
|
|
@ -2,13 +2,13 @@
|
||||||
<p>
|
<p>
|
||||||
<label>Branch:</label>
|
<label>Branch:</label>
|
||||||
{{#if view.branches.isLoaded}}
|
{{#if view.branches.isLoaded}}
|
||||||
{{view Ember.Select contentBinding="view.branches" selectionBinding="view.statusImageBranch" optionLabelPath="content.commit.branch" optionValuePath="content.commit.branch"}}
|
{{view Ember.Select content="view.branches" selection="view.statusImageBranch" optionLabelPath="content.commit.branch" optionValuePath="content.commit.branch"}}
|
||||||
{{else}}
|
{{else}}
|
||||||
{{loading-indicator}}
|
{{loading-indicator}}
|
||||||
{{/if}}
|
{{/if}}
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
<label>{{view Ember.Select contentBinding="view.formats" selectionBinding="view.statusImageFormat"}}</label>
|
<label>{{view Ember.Select content="view.formats" selection="view.statusImageFormat"}}</label>
|
||||||
{{view 'status-image-input' valueBinding="view.statusString" class="url" rows=3}}
|
{{view 'status-image-input' value="view.statusString" class="url" rows=3}}
|
||||||
</p>
|
</p>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user