remove some deprecation errors
This commit is contained in:
parent
42b75fab6a
commit
a6ca21f03d
|
@ -73,7 +73,7 @@
|
|||
|
||||
<div>
|
||||
<ul class="profile-hooklist">
|
||||
{{#each hook in hooks}}
|
||||
{{#each hooks as |hook|}}
|
||||
{{hooks-list-item hook=hook}}
|
||||
{{else}}
|
||||
<li>
|
||||
|
@ -92,7 +92,7 @@
|
|||
<p>You require admin rights to enable these repositories</p>
|
||||
|
||||
<ul class="profile-hooklist">
|
||||
{{#each hook in hooksWithoutAdmin}}
|
||||
{{#each hooksWithoutAdmin as |hook| }}
|
||||
<li class="{{if hook.active 'active'}} row">
|
||||
<div class="switch--icon inline-block disabled {{if hook.active 'active'}}">
|
||||
<div class="switch-inner">
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
<section>
|
||||
<h2 class="small-title">Active Branches</h2>
|
||||
<ul class="blank-list">
|
||||
{{#each branch in activeBranches}}
|
||||
{{#each activeBranches as |branch|}}
|
||||
{{branch-row build=branch}}
|
||||
{{/each}}
|
||||
</ul>
|
||||
|
@ -21,7 +21,7 @@
|
|||
<section>
|
||||
<h2 class="small-title">Inactive Branches</h2>
|
||||
<ul class="blank-list">
|
||||
{{#each branch in inactiveBranches}}
|
||||
{{#each inactiveBranches as |branch|}}
|
||||
{{branch-row build=branch inactive=true}}
|
||||
{{/each}}
|
||||
</ul>
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
{{#if model.pushes.length}}
|
||||
<h2 class="caches-title">Pushes</h2>
|
||||
<ul id="caches" class="caches">
|
||||
{{#each cache in model.pushes }}
|
||||
{{#each model.pushes as |cache|}}
|
||||
{{caches-item cache=cache repo=repo caches=model.pushes}}
|
||||
{{/each}}
|
||||
</ul>
|
||||
|
@ -17,7 +17,7 @@
|
|||
{{#if model.pullRequests.length}}
|
||||
<h2 class="caches-title">Pull Requests</h2>
|
||||
<ul class="caches">
|
||||
{{#each cache in model.pullRequests }}
|
||||
{{#each model.pullRequests as |cache|}}
|
||||
{{caches-item cache=cache repo=repo caches=model.pullRequests}}
|
||||
{{/each}}
|
||||
</ul>
|
||||
|
|
|
@ -202,7 +202,7 @@
|
|||
{{#if getLast5Builds.isLoading}}
|
||||
{{loading-indicator center=true}}
|
||||
{{else}}
|
||||
{{#each buildTile in getLast5Builds.content}}
|
||||
{{#each getLast5Builds.content as |buildTile|}}
|
||||
{{build-tile build=buildTile}}
|
||||
{{/each}}
|
||||
{{/if}}
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
{{#each flash in messages}}
|
||||
{{#each messages as |flash|}}
|
||||
{{flash-item flash=flash close=(action 'closeMessage')}}
|
||||
{{/each}}
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
{{/if}}
|
||||
|
||||
<ul class="jobs-list">
|
||||
{{#each job in jobs}}
|
||||
{{#each jobs as |job|}}
|
||||
{{jobs-item job=job repo=repo}}
|
||||
{{/each}}
|
||||
</ul>
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
{{#if selected }}
|
||||
<li><a title="" {{action 'select'}}>All organizations</a></li>
|
||||
{{/if}}
|
||||
{{#each org in orgs}}
|
||||
{{#each orgs as |org|}}
|
||||
<li>
|
||||
<a title="" {{action 'select' org}}><img src="{{org.avatar_url}}" alt="">
|
||||
{{#if org.name }}
|
||||
|
|
|
@ -52,7 +52,7 @@
|
|||
</div>
|
||||
<div class="medium-6 columns">
|
||||
<ul class="tiles-landing">
|
||||
{{#each repo in repos}}
|
||||
{{#each repos as |repo|}}
|
||||
<li class="db column {{repo.lastBuild.state}}">
|
||||
<div class="db-status">
|
||||
<span class="icon icon-status {{repo.lastBuild.state}}"></span>
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
</h2>
|
||||
{{/if}}
|
||||
|
||||
{{#each job in view.jobs}}
|
||||
{{#each view.jobs as |job|}}
|
||||
{{#view 'jobs-item' context=job}}
|
||||
<div class="tile tile--jobs row {{job.state}}">
|
||||
{{#if job.config}}
|
||||
|
|
Loading…
Reference in New Issue
Block a user