<a i18n-title
   title="Tasks and Notifications"
   [ngClass]="{ 'running': hasRunningTasks }"
   (click)="togglePanel($event)">
  <div class="notification-icon-wrapper">
    <cd-icon type="notification"
             size="20">
    </cd-icon>
    <span class="notification-count"
          *ngIf="notificationCount > 0">
      {{ notificationCount }}
    </span>
  </div>
  <span class="d-md-none"
        i18n>Tasks and Notifications</span>
</a>

<cd-notification-panel *ngIf="isPanelOpen && useNewPanel"></cd-notification-panel>
<cd-notifications-sidebar *ngIf="isPanelOpen && !useNewPanel"></cd-notifications-sidebar>
