Page MenuHomec4science

tln-manuscript-view.component.html
No OneTemporary

File Metadata

Created
Wed, Jul 10, 04:36

tln-manuscript-view.component.html

<toggle-navigation></toggle-navigation>
<mat-card *ngIf="current_manuscript">
<mat-card-header>
<mat-card-title *ngIf="current_manuscript.archivalicSignature">{{current_manuscript.archivalicSignature}}</mat-card-title>
<mat-card-title *ngIf="!current_manuscript.archivalicSignature">{{current_manuscript.title}}</mat-card-title>
<mat-card-subtitle *ngIf="current_manuscript.gsaSignature">GSA-Signatur {{current_manuscript.gsaSignature}}</mat-card-subtitle>
<!--<mat-card-subtitle>{{current_manuscript.type}}</mat-card-subtitle>-->
<img mat-card-avatar *ngIf="current_manuscript.thumbImage" [src]="current_manuscript.thumbImage"/>
</mat-card-header>
<mat-card-content *ngIf="earlierDescriptions.length > 0">
<h4 mat-subheader>Fr&uuml;here Manuskriptbeschreibungen</h4>
<table>
<tr *ngFor="let earlierDescription of earlierDescriptions">
<td class="author">{{earlierDescription.author}}:</td>
<td class="text">
<span *ngIf="earlierDescription.markups.length == 0">{{earlierDescription.text}}</span>
<ngx-mat-standoffMarkup-component *ngIf="earlierDescription.markups.length > 0"
[settings]="mySettings"
[text]="earlierDescription.text"
[standOffMarkup]="earlierDescription.markups"></ngx-mat-standoffMarkup-component>
{{earlierDescription.citation}}
</td>
</tr>
</table>
</mat-card-content>
<mat-card-content *ngIf="manuscriptDescription">
<h4 mat-subheader *ngIf="current_manuscript.type == 'Mappe'">Beschreibung der Archivmappe</h4>
<h4 mat-subheader *ngIf="current_manuscript.type != 'Mappe'">Heftbeschreibung</h4>
<p class="text">
<span *ngIf="manuscriptDescription.markups.length == 0">{{manuscriptDescription.text}}</span>
<ngx-mat-standoffMarkup-component *ngIf="manuscriptDescription.markups.length > 0"
[settings]="mySettings"
[text]="manuscriptDescription.text"
[standOffMarkup]="manuscriptDescription.markups"></ngx-mat-standoffMarkup-component>
</p>
</mat-card-content>
<mat-card-content *ngIf="current_manuscript.archivalicSignature && current_manuscript.archivalicSignature != current_manuscript.title">
<h4 mat-subheader>In {{current_manuscript.title}} wiedergegebene Manuskriptseiten</h4>
<span *ngFor="let page of pages; let i = index">{{page.number}}
<open-in-viewer class="nospace" [routerInformation]="{ title: current_manuscript.title, number: page.number, page: page.id }"></open-in-viewer>
<open-in-viewer class="nospace" [routerInformation]="{ title: current_manuscript.title, number: page.number,
page: page.id, launchExternally: true }"></open-in-viewer>
<span *ngIf="i+1 < pages.length">, </span></span>
</mat-card-content>
<mat-card-content *ngIf="reconstructedKonvolut">
<h4 mat-subheader>Konvolute, Rekonstruktionen</h4>
<p class="text" *ngIf="reconstructedKonvolut.description">{{reconstructedKonvolut.description}}</p>
<!-- TODO: WAITING FOR DATA
<span *ngFor="let page of reconstructedKonvolut.pages; let i = index">{{page.number}}
<button *ngIf="page.title" mat-icon-button class="nospace"
[title]="page.title + ' ' + page.number + ' in Seitenansicht &ouml;ffnen'"
(click)="openInViewer(page.id)"><mat-icon [inline]="true">launch</mat-icon></button>
<span *ngIf="i+1 < reconstructedKonvolut.pages.length">, </span></span>-->
</mat-card-content>
</mat-card>

Event Timeline