@if (archiveContentRenderType === ContentRenderType.PDF && !useNativePdfViewer) { @if (previewNumPages()) {
Page
of {{previewNumPages()}}
}
}
@if (userIsOwner && (requiresPassword || password)) { }
@if (emailEnabled) { }
@if (hasNext()) { } @else { }
@if (showThumbnailOverlay) { Document loading... }
Loading...
@if (document()) { @switch (archiveContentRenderType) { @case (ContentRenderType.PDF) { @if (!useNativePdfViewer) {
} @else { Preview is unavailable. } } @case (ContentRenderType.Text) {
{{previewText()}}
} @case (ContentRenderType.Image) {
{{title()}}
} @case (ContentRenderType.TIFF) { @if (!tiffError()) {
{{title()}}
} @else {
{{tiffError()}}
} } @case (ContentRenderType.Other) { Preview is unavailable. } } @if (requiresPassword) {
} }