@if (isHeaderAllowed) { @if (backUrl) { @if (showBackButton) { } } @if (enableSideMenu && navigationService.position() !== null) { } @if ((currentPage !== 'IndexLive' && currentPage !== 'IndexHistory')) { {{ service.currentPageTitle }} } {{ service.currentPageTitle }} @if (service.currentEdge(); as edge) { @if ((currentPage === 'IndexLive' || currentPage === 'IndexHistory') && navigationService.position() !== null && navigationService.position() === 'disabled') { {{"GENERAL.LIVE" | translate}} {{"GENERAL.HISTORY" | translate}} } } @if (service.currentEdge(); as edge) { @if (edge.currentData | async; as currentData) { @if (currentData.summary.system; as sum) { @if (sum.state !== null) { @switch (sum.state) { @case (0) { } @case (1) { } @case (2) { } @case (3) { } } } } } @if (environment.debugMode && edge.roleIsAtLeast('owner')) { } } @if (currentPage === 'IndexHistory' && navigationService.position() !== 'left') { } }