<div class="container page-content">
  <div class="row">
    <div class="col-3" *ngIf="showLeftNav$ | async">
      <div class="card" *ngIf="organization$ | async as org">
        <div class="card-header">{{ "reporting" | i18n }}</div>
        <div class="list-group list-group-flush">
          <a
            routerLink="events"
            class="list-group-item"
            routerLinkActive="active"
            *ngIf="org.canAccessEventLogs"
          >
            {{ "eventLogs" | i18n }}
          </a>
          <a
            routerLink="reports"
            class="list-group-item"
            routerLinkActive="active"
            *ngIf="org.canAccessReports"
          >
            {{ "reports" | i18n }}
          </a>
        </div>
      </div>
    </div>
    <div class="col-9" [ngClass]="(showLeftNav$ | async) ? 'col-9' : 'col-12'">
      <router-outlet></router-outlet>
    </div>
  </div>
</div>
