Vulcan/client/views/notifications/notifications.html

15 lines
433 B
HTML
Raw Normal View History

2012-10-04 10:09:20 +09:00
<template name="notifications">
{{#if currentUser}}
2012-10-08 16:49:01 +09:00
{{#if canPost}}
2014-07-10 11:45:34 +09:00
<div class="notifications {{notification_class}}">
<a href="#" class="mark-as-read">{{i18n "Mark all as read"}}</a>
2012-10-08 16:49:01 +09:00
<ul>
{{#each notifications}}
2014-07-05 11:42:28 +09:00
{{> UI.dynamic template=notification_item}}
2012-10-08 16:49:01 +09:00
{{/each}}
</ul>
</div>
2014-07-11 10:18:09 +09:00
<a href="#" class="notifications-toggle {{notification_class}}">{{notification_count}}</a>
2012-10-08 16:49:01 +09:00
{{/if}}
{{/if}}
2012-10-04 10:09:20 +09:00
</template>