notifications.html 679 B

1234567891011121314151617181920212223242526
  1. <template name="notifications">
  2. <a href="#" class="dropdown-toggle" data-toggle="dropdown">
  3. Notifications
  4. {{#if notificationCount }}
  5. <span class="badge badge-inverse">{{ notificationCount }}</span>
  6. {{/if}}
  7. <b class="caret"></b>
  8. </a>
  9. <ul class="notification dropdown-menu">
  10. {{#if notificationCount }}
  11. {{#each notifications}}
  12. {{> notificationItem }}
  13. {{/each}}
  14. {{else}}
  15. <li><span>No Notifications</span></li>
  16. {{/if}}
  17. </ul>
  18. </template>
  19. <template name="notificationItem">
  20. <li>
  21. <a href="{{ notificationPostPath }}">
  22. <strong>{{ commenterName }}</strong> commented on your post
  23. </a>
  24. </li>
  25. </template>