- missing notifications when multiple replies in topic (till refresh) - not cleared properly on click
19 lines
605 B
Handlebars
19 lines
605 B
Handlebars
<section class="d-dropdown" id="notifications-dropdown">
|
|
{{#unless controllers.header.loading_notifications}}
|
|
{{#if content}}
|
|
<ul>
|
|
{{#each}}
|
|
<li {{bind-attr class="read"}}>{{notification-item model=this scope=scope}}</li>
|
|
{{/each}}
|
|
<li class="read last">
|
|
<a {{bind-attr href="currentUser.path"}}>{{i18n notifications.more}} …</a>
|
|
</li>
|
|
</ul>
|
|
{{else}}
|
|
<div class="none">{{i18n notifications.none}}</div>
|
|
{{/if}}
|
|
{{else}}
|
|
<div class='loading'><i class='fa fa-spinner fa-spin'></i></div>
|
|
{{/unless}}
|
|
</section>
|