mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-11 03:53:02 +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">
|
<div class="item-page" *ngIf="item.hasSucceeded | async">
|
||||||
<ds-item-page-title-field [item]="item.payload | async"></ds-item-page-title-field>
|
<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">
|
<table class="table table-responsive table-striped">
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr *ngFor="let metadatum of (metadata | async)">
|
<tr *ngFor="let metadatum of (metadata | async)">
|
||||||
@@ -14,9 +21,5 @@
|
|||||||
|
|
||||||
<ds-item-page-collections [item]="item.payload | async"></ds-item-page-collections>
|
<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>
|
</div>
|
||||||
|
@@ -1 +1,7 @@
|
|||||||
@import '../../../styles/variables.scss';
|
@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-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-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>
|
<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>
|
||||||
<div class="col-xs-12 col-md-6">
|
<div class="col-xs-12 col-md-6">
|
||||||
<ds-item-page-abstract-field
|
<ds-item-page-abstract-field
|
||||||
[item]="item.payload | async"></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-uri-field [item]="item.payload | async"></ds-item-page-uri-field>
|
||||||
<ds-item-page-collections [item]="item.payload | async"></ds-item-page-collections>
|
<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>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
Reference in New Issue
Block a user