@if (entityType === EntityType.ALL_BOOKS) { @if (currentFilterLabel && rawFilterParamFromUrl) { {{ currentFilterLabel }} } @else if (hasSidebarFilters || hasSearchTerm) { All Books (Filtered) } @else { All Books } } @else if (entityType === EntityType.UNSHELVED) { {{ (hasSidebarFilters || hasSearchTerm) ? 'Unshelved Books (Filtered)' : 'Unshelved Books' }} } @else { {{ entityType }}: {{ (entity$ | async)?.name }}{{ (hasSidebarFilters || hasSearchTerm) ? ' (Filtered)' : '' }} }
@if (userService.userState$ | async; as userState) { @if (entityType !== EntityType.ALL_BOOKS && entityType !== EntityType.UNSHELVED && (userState.user!.permissions.admin || userState.user!.permissions.canManipulateLibrary)) {{{ entityType === EntityType.LIBRARY ? "Failed to load library's books!" : "Failed to load shelf's books!" }}
This collection has no books!