mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-10 19:43:04 +00:00
41650: updated links to full/simple view
This commit is contained in:
@@ -1,5 +1,12 @@
|
||||
<div class="item-page" *ngIf="item.hasSucceeded | async">
|
||||
<ds-item-page-title-field [item]="item.payload | async"></ds-item-page-title-field>
|
||||
|
||||
<div class="simple-view-link">
|
||||
<a class="btn btn-secondary col-4" [routerLink]="['/items/' + (item.payload | async)?.id]">
|
||||
{{"item.page.link.simple" | translate}}
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<table class="table table-responsive table-striped">
|
||||
<tbody>
|
||||
<tr *ngFor="let metadatum of (metadata | async)">
|
||||
@@ -14,9 +21,5 @@
|
||||
|
||||
<ds-item-page-collections [item]="item.payload | async"></ds-item-page-collections>
|
||||
|
||||
<div>
|
||||
<a [routerLink]="['/items/' + (item.payload | async)?.id]">
|
||||
{{"item.page.link.simple" | translate}}
|
||||
</a>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
@@ -1 +1,7 @@
|
||||
@import '../../../styles/variables.scss';
|
||||
:host {
|
||||
div.simple-view-link {
|
||||
text-align: center;
|
||||
margin: 20px;
|
||||
}
|
||||
}
|
@@ -8,17 +8,18 @@
|
||||
<ds-item-page-file-section [item]="item.payload | async"></ds-item-page-file-section>
|
||||
<ds-item-page-date-field [item]="item.payload | async"></ds-item-page-date-field>
|
||||
<ds-item-page-author-field [item]="item.payload | async"></ds-item-page-author-field>
|
||||
<div>
|
||||
<a [routerLink]="['/items/' + (item.payload | async)?.id + '/full']">
|
||||
{{"item.page.link.full" | translate}}
|
||||
</a>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="col-xs-12 col-md-6">
|
||||
<ds-item-page-abstract-field
|
||||
[item]="item.payload | async"></ds-item-page-abstract-field>
|
||||
<ds-item-page-uri-field [item]="item.payload | async"></ds-item-page-uri-field>
|
||||
<ds-item-page-collections [item]="item.payload | async"></ds-item-page-collections>
|
||||
<div>
|
||||
<a class="btn btn-secondary" [routerLink]="['/items/' + (item.payload | async)?.id + '/full']">
|
||||
{{"item.page.link.full" | translate}}
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user