{{#if model.error}}
  <div class="item error">
    {{#if model.forbidden}}
      {{i18n "errors.reasons.forbidden"}}
    {{else}}
      {{i18n "errors.desc.unknown"}}
    {{/if}}
  </div>
{{/if}}

{{notifications-filter value=filter onChange=(action "filterNotifications")}}
<span class="user-notifications-filter-separator"></span>

{{#if hasFilteredNotifications}}
  {{user-notifications-large notifications=model filter=filter}}
  {{conditional-loading-spinner condition=loading}}
{{else}}
  <div class="alert alert-info">{{i18n "notifications.empty"}}</div>
{{/if}}
