@if (archiveContentRenderType === ContentRenderType.PDF && !useNativePdfViewer) { @if (previewNumPages) {
Page
of {{previewNumPages}}
}
}
@if (metadata?.has_archive_version) {
}
@if (userIsOwner && (requiresPassword || password)) {
}
@if (emailEnabled) {
}
@if (hasNext()) {
} @if (!hasNext()) {
}
@if (showThumbnailOverlay) { }
Loading...
@if (document) { @switch (archiveContentRenderType) { @case (ContentRenderType.PDF) { @if (!useNativePdfViewer) {
} @else {
} } @case (ContentRenderType.Text) {
{{previewText}}
} @case (ContentRenderType.Image) {
} @case (ContentRenderType.TIFF) { @if (!tiffError) {
} @else {
{{tiffError}}
} } @case (ContentRenderType.Other) {
} } @if (requiresPassword) {
} }