Deprecations: A couple more {{#each x in y}}

This commit is contained in:
Robin Ward 2016-05-09 12:49:58 -04:00
parent da5e7c7383
commit e3f016a79b
No known key found for this signature in database
GPG Key ID: 0E091E2B4ED1B83D

View File

@ -98,7 +98,7 @@
<h3 class='stats-title'>{{i18n "user.summary.most_replied_to_users"}}</h3>
{{#if model.most_replied_to_users.length}}
<ul>
{{#each user in model.most_replied_to_users}}
{{#each model.most_replied_to_users as |user|}}
<li>
{{#user-info user=user}}
{{fa-icon "reply"}}
@ -135,7 +135,7 @@
<h3 class='stats-title'>{{i18n "user.summary.most_liked_users"}}</h3>
{{#if model.most_liked_users.length}}
<ul>
{{#each user in model.most_liked_users}}
{{#each model.most_liked_users as |user|}}
<li>
{{#user-info user=user}}
{{fa-icon "heart"}}