mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 10:04:11 +00:00
Edit item - making page content more responsive and accessible
(cherry picked from commit f975e1da89
)
This commit is contained in:

committed by
github-actions[bot]
![github-actions[bot]](/assets/img/avatar_default.png)
parent
dadba96975
commit
8cc999e81e
@@ -1,28 +1,28 @@
|
||||
<p class="mt-2">{{'item.edit.tabs.status.description' | translate}}</p>
|
||||
<div class="row">
|
||||
<div *ngFor="let statusKey of statusDataKeys" class="w-100">
|
||||
<div class="col-3 float-left status-label">
|
||||
<div *ngFor="let statusKey of statusDataKeys" class="w-100 pt-1">
|
||||
<div class="col-12 col-md-3 float-left status-label">
|
||||
{{'item.edit.tabs.status.labels.' + statusKey | translate}}:
|
||||
</div>
|
||||
<div class="col-9 float-left status-data" id="status-{{statusKey}}">
|
||||
<div class="col-12 col-md-9 float-left status-data" id="status-{{statusKey}}">
|
||||
{{statusData[statusKey]}}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div *ngFor="let identifier of (identifiers$ | async)" class="w-100">
|
||||
<div *ngFor="let identifier of (identifiers$ | async)" class="w-100 pt-1">
|
||||
<div *ngIf="(identifier.identifierType==='doi')">
|
||||
<div class="col-3 float-left status-label">
|
||||
<div class="col-12 col-md-3 float-left status-label">
|
||||
{{identifier.identifierType.toLocaleUpperCase()}}
|
||||
</div>
|
||||
<div class="col-9 float-left status-label">{{identifier.value}}
|
||||
<div class="col-12 col-md-9 float-left status-label">{{identifier.value}}
|
||||
({{"item.edit.identifiers.doi.status."+identifier.identifierStatus|translate}})</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-3 float-left status-label">
|
||||
<div class="col-12 col-md-3 float-left status-label">
|
||||
{{'item.edit.tabs.status.labels.itemPage' | translate}}:
|
||||
</div>
|
||||
<div class="col-9 float-left status-data" id="status-itemPage">
|
||||
<div class="col-12 col-md-9 float-left status-data" id="status-itemPage">
|
||||
<a [routerLink]="itemPageRoute$ | async">{{itemPageRoute$ | async}}</a>
|
||||
</div>
|
||||
|
||||
|
@@ -0,0 +1,3 @@
|
||||
.status-label {
|
||||
font-weight: 700;
|
||||
}
|
@@ -60,6 +60,7 @@ import { ItemOperation } from '../item-operation/itemOperation.model';
|
||||
|
||||
@Component({
|
||||
selector: 'ds-base-item-status',
|
||||
styleUrls: ['item-status.component.scss'],
|
||||
templateUrl: './item-status.component.html',
|
||||
changeDetection: ChangeDetectionStrategy.Default,
|
||||
animations: [
|
||||
|
Reference in New Issue
Block a user