This repository has been archived on 2023-03-18. You can view files and clone it, but cannot push or open issues or pull requests.
osr-discourse-src/app/assets/javascripts/discourse/templates/notifications.js.handlebars
2014-08-06 15:24:20 -04:00

19 lines
588 B
Handlebars

<section class="d-dropdown" id="notifications-dropdown">
{{#unless loadingNotifications}}
{{#if content}}
<ul>
{{#each itemController="notification"}}
{{notification-item notification=this scope=scope}}
{{/each}}
<li class="read last">
<a {{bind-attr href="currentUser.path"}}>{{i18n notifications.more}} &hellip;</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>