mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-23 15:48:43 -05:00
Deprecations: More {{#each x in y}}
templates
This commit is contained in:
parent
b2bcefd906
commit
b3c24e50e3
5 changed files with 6 additions and 6 deletions
|
@ -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>
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{{#each navItem in navItems}}
|
||||
{{#each navItems as |navItem|}}
|
||||
{{navigation-item content=navItem filterMode=filterMode}}
|
||||
{{/each}}
|
||||
{{custom-html "extraNavItem"}}
|
||||
|
|
|
@ -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}}
|
||||
|
|
|
@ -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}}
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue