mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 10:04:11 +00:00
Resolution of issue #1190 - Improving the accessibility of the status page using the item-operation component
This commit is contained in:
@@ -1,9 +1,9 @@
|
|||||||
<div class="col-3 float-left d-flex h-100 action-label">
|
<div class="col-12 col-md-3 column-height float-left d-flex h-100 action-label">
|
||||||
<span class="justify-content-center align-self-center">
|
<span class="justify-content-center align-self-center">
|
||||||
{{'item.edit.tabs.status.buttons.' + operation.operationKey + '.label' | translate}}
|
{{'item.edit.tabs.status.buttons.' + operation.operationKey + '.label' | translate}}
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-9 float-left action-button">
|
<div class="col-12 col-md-9 float-left action-button">
|
||||||
<span *ngIf="operation.authorized">
|
<span *ngIf="operation.authorized">
|
||||||
<button class="btn btn-outline-primary" [disabled]="operation.disabled" [routerLink]="operation.operationUrl" [attr.aria-label]="'item.edit.tabs.status.buttons.' + operation.operationKey + '.button' | translate">
|
<button class="btn btn-outline-primary" [disabled]="operation.disabled" [routerLink]="operation.operationUrl" [attr.aria-label]="'item.edit.tabs.status.buttons.' + operation.operationKey + '.button' | translate">
|
||||||
{{'item.edit.tabs.status.buttons.' + operation.operationKey + '.button' | translate}}
|
{{'item.edit.tabs.status.buttons.' + operation.operationKey + '.button' | translate}}
|
||||||
|
@@ -0,0 +1,9 @@
|
|||||||
|
.column-height {
|
||||||
|
height: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
@media screen and (max-width: map-get($grid-breakpoints, sm)) {
|
||||||
|
.column-height {
|
||||||
|
height: auto;
|
||||||
|
}
|
||||||
|
}
|
@@ -11,6 +11,7 @@ import { ItemOperation } from './itemOperation.model';
|
|||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'ds-item-operation',
|
selector: 'ds-item-operation',
|
||||||
|
styleUrls: ['item-operation.component.scss'],
|
||||||
templateUrl: './item-operation.component.html',
|
templateUrl: './item-operation.component.html',
|
||||||
imports: [
|
imports: [
|
||||||
TranslateModule,
|
TranslateModule,
|
||||||
|
Reference in New Issue
Block a user