Skip to content
Snippets Groups Projects
Commit 713c4045 authored by Kristof De Langhe's avatar Kristof De Langhe
Browse files

64574: Mantis publication template fix

parent f4f09999
No related branches found
No related tags found
No related merge requests found
......@@ -18,13 +18,14 @@
<div class="row">
<div class="col-12 col-md-6">
<ds-metadata-representation-list
[label]="'relationships.isAuthorOf' | translate"
[representations]="authors$ | async">
[parentItem]="item"
[itemType]="'Person'"
[metadataField]="'dc.contributor.author'"
[label]="'relationships.isAuthorOf' | translate">
</ds-metadata-representation-list>
<ds-item-page-file-section [item]="item"></ds-item-page-file-section>
<ds-item-page-date-field [item]="item"></ds-item-page-date-field>
<ds-item-page-author-field *ngIf="!(authors$ | async)"
[item]="item"></ds-item-page-author-field>
<ds-item-page-author-field [item]="item"></ds-item-page-author-field>
<ds-generic-item-page-field [item]="item"
[fields]="['journal.title']"
[label]="'publication.page.journal-title'">
......@@ -57,26 +58,29 @@
</div>
</div>
</div>
<div class="relationships-item-page" *ngIf="(projects$ | async) || (orgUnits$ | async) || (journalIssues$ | async)">
<div class="relationships-item-page">
<div class="container">
<div class="row">
<div class="col-12 col-md-4" *ngIf="projects$ | async">
<ds-related-items
[items]="(projects$ | async)?.payload?.page"
[label]="'relationships.isProjectOf' | translate">
</ds-related-items>
<div class="col-12 col-md-4">
<ds-related-items
[parentItem]="item"
[relationType]="'isProjectOfPublication'"
[label]="'relationships.isProjectOf' | translate">
</ds-related-items>
</div>
<div class="col-12 col-md-4" *ngIf="orgUnits$ | async">
<ds-related-items
[items]="(orgUnits$ | async)?.payload?.page"
[label]="'relationships.isOrgUnitOf' | translate">
</ds-related-items>
<div class="col-12 col-md-4">
<ds-related-items
[parentItem]="item"
[relationType]="'isOrgUnitOfPublication'"
[label]="'relationships.isOrgUnitOf' | translate">
</ds-related-items>
</div>
<div class="col-12 col-md-4" *ngIf="journalIssues$ | async">
<ds-related-items
[items]="(journalIssues$ | async)?.payload?.page"
[label]="'relationships.isJournalIssueOf' | translate">
</ds-related-items>
<div class="col-12 col-md-4">
<ds-related-items
[parentItem]="item"
[relationType]="'isJournalIssueOfPublication'"
[label]="'relationships.isJournalIssueOf' | translate">
</ds-related-items>
</div>
</div>
</div>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment