Deprecations: More {{#each x in y}} templates

This commit is contained in:
Robin Ward 2016-05-09 16:20:35 -04:00
parent b2bcefd906
commit b3c24e50e3
No known key found for this signature in database
GPG key ID: 0E091E2B4ED1B83D
5 changed files with 6 additions and 6 deletions

View file

@ -35,7 +35,7 @@
<th></th>
</tr>
{{#each userBadge in groupedBadges}}
{{#each groupedBadges as |userBadge|}}
<tr>
<td>{{user-badge badge=userBadge.badge count=userBadge.count}}</td>
<td>

View file

@ -1,4 +1,4 @@
{{#each navItem in navItems}}
{{#each navItems as |navItem|}}
{{navigation-item content=navItem filterMode=filterMode}}
{{/each}}
{{custom-html "extraNavItem"}}

View file

@ -13,7 +13,7 @@
{{desc}}
</div>
<div class="buttons">
{{#each buttonData in enabledButtons}}
{{#each enabledButtons as |buttonData|}}
{{d-button icon=buttonData.icon action=buttonData.action label=buttonData.key class=buttonData.classes}}
{{/each}}
{{conditional-loading-spinner condition=loading}}

View file

@ -1,8 +1,8 @@
{{#if postNumbers}}
<div class='post-actions {{className}}'>
<i class='fa fa-{{icon}}'></i>
{{#each postNumber in postNumbers}}
<a href='{{topic.url}}/{{postNumber}}'>#{{postNumber}}</a>
{{#each postNumbers as |postNumber|}}
<a href='{{topic.url}}/{{postNumber}}'>#{{postNumber}}</a>
{{/each}}
</div>
{{/if}}

View file

@ -6,7 +6,7 @@
</li>
{{#if expanded}}
<ul class='drop'>
{{#each navItem in navItems}}
{{#each navItems as |navItem|}}
{{navigation-item content=navItem filterMode=filterMode}}
{{/each}}
</ul>