Skip to content

Commit 66dedc5

Browse files
alisaismailatitdonohue
authored andcommitted
[CST-15591] Fixed headings by their rank
1 parent 6330516 commit 66dedc5

File tree

8 files changed

+12
-12
lines changed

8 files changed

+12
-12
lines changed

src/app/collection-page/create-collection-page/create-collection-page.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<div class="container">
22
<div class="row">
33
<div class="col-12 pb-4">
4-
<h2 id="sub-header" class="border-bottom pb-2">{{'collection.create.sub-head' | translate:{ parent: dsoNameService.getName((parentRD$| async)?.payload) } }}</h2>
4+
<h1 id="sub-header" class="border-bottom pb-2">{{'collection.create.sub-head' | translate:{ parent: dsoNameService.getName((parentRD$| async)?.payload) } }}</h1>
55
</div>
66
</div>
77
<ds-collection-form (submitForm)="onSubmit($event)"

src/app/community-page/create-community-page/create-community-page.component.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
<div class="row">
33
<div class="col-12 pb-4">
44
<ng-container *ngVar="(parentRD$ | async)?.payload as parent">
5-
<h2 *ngIf="!parent" id="header" class="border-bottom pb-2">{{ 'community.create.head' | translate }}</h2>
6-
<h2 *ngIf="parent" id="sub-header" class="border-bottom pb-2">{{ 'community.create.sub-head' | translate:{ parent: dsoNameService.getName(parent) } }}</h2>
5+
<h1 *ngIf="!parent" id="header" class="border-bottom pb-2">{{ 'community.create.head' | translate }}</h1>
6+
<h1 *ngIf="parent" id="sub-header" class="border-bottom pb-2">{{ 'community.create.sub-head' | translate:{ parent: dsoNameService.getName(parent) } }}</h1>
77
</ng-container>
88
</div>
99
</div>

src/app/shared/mydspace-actions/workspaceitem/workspaceitem-actions.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030

3131
<ng-template #content let-c="close" let-d="dismiss">
3232
<div class="modal-header">
33-
<h4 class="modal-title text-danger">{{'submission.general.discard.confirm.title' | translate}}</h4>
33+
<div class="modal-title text-danger h4">{{'submission.general.discard.confirm.title' | translate}}</div>
3434
<button type="button" id="delete_close" class="close" aria-label="Close" (click)="d('cancel')">
3535
<span aria-hidden="true">&times;</span>
3636
</button>

src/app/shared/object-list/my-dspace-result-list-element/item-list-preview/item-list-preview.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<ds-themed-badges [object]="item" [context]="badgeContext" [showAccessStatus]="true"></ds-themed-badges>
1010
</div>
1111
<ds-truncatable [id]="item.id">
12-
<h3 [innerHTML]="dsoTitle" [ngClass]="{'lead': true,'text-muted': !item.firstMetadataValue('dc.title')}"></h3>
12+
<h2 [innerHTML]="dsoTitle" [ngClass]="{'lead': true,'text-muted': !item.firstMetadataValue('dc.title')}"></h2>
1313
<div>
1414
<span class="text-muted">
1515
<ds-truncatable-part [id]="item.id" [minLines]="1">

src/app/shared/search-form/scope-selector-modal/scope-selector-modal.component.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,14 @@
66
</div>
77
<div class="modal-body">
88
<button class="btn btn-outline-primary btn-lg btn-block" (click)="selectObject(undefined)">{{'dso-selector.' + action + '.' + objectType.toString().toLowerCase() + '.button'| translate }}</button>
9-
<h3 class="position-relative py-1 my-3 font-weight-normal">
9+
<div class="position-relative py-1 my-3 font-weight-normal h3">
1010
<hr>
1111
<div id="create-community-or-separator" class="text-center position-absolute w-100">
1212
<span class="px-4 bg-white">{{'dso-selector.' + action + '.' + objectType.toString().toLowerCase() + '.or-divider' | translate}}</span>
1313
</div>
14-
</h3>
14+
</div>
1515

16-
<h5 class="px-2">{{'dso-selector.' + action + '.' + objectType.toString().toLowerCase() + '.input-header' | translate}}</h5>
16+
<h2 class="px-2 h5">{{'dso-selector.' + action + '.' + objectType.toString().toLowerCase() + '.input-header' | translate}}</h2>
1717
<ds-dso-selector [currentDSOId]="dsoRD?.payload.uuid" [types]="selectorTypes" [sort]="defaultSort" (onSelect)="selectObject($event)"></ds-dso-selector>
1818
</div>
1919
</div>

src/app/shared/search/search-results/search-results.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<div class="d-flex justify-content-between">
2-
<h2 *ngIf="!disableHeader">{{ (configuration ? configuration + '.search.results.head' : 'search.results.head') | translate }}</h2>
2+
<h1 *ngIf="!disableHeader">{{ (configuration ? configuration + '.search.results.head' : 'search.results.head') | translate }}</h1>
33
<ds-search-export-csv *ngIf="showCsvExport" [searchConfig]="searchConfig"></ds-search-export-csv>
44
</div>
55
<div *ngIf="searchResults && searchResults?.hasSucceeded && !searchResults?.isLoading && searchResults?.payload?.page.length > 0" @fadeIn>

src/app/submission/sections/upload/section-upload.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<ng-container *ngIf="fileList.length == 0">
66
<div class="row">
77
<div class="col-md-12">
8-
<h3 class="text-center"><span class="text-muted">{{'submission.sections.upload.no-file-uploaded' | translate}}</span></h3>
8+
<div class="text-center h3"><span class="text-muted">{{'submission.sections.upload.no-file-uploaded' | translate}}</span></div>
99
</div>
1010
</div>
1111
</ng-container>

src/app/workspaceitems-edit-page/workspaceitems-delete-page/workspaceitems-delete-page.component.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
<div class="container">
2-
<h2>{{ 'workspace-item.delete.header' | translate }}</h2>
2+
<h1>{{ 'workspace-item.delete.header' | translate }}</h1>
33
<ds-modify-item-overview *ngIf="(dso$ | async)" [item]="(dso$ | async)"></ds-modify-item-overview>
44
<button class="btn btn-default" (click)="previousPage()">{{ 'workspace-item.delete.button.cancel' | translate }}</button>
55
<button class="btn btn-danger" (click)="$event.preventDefault();confirmDelete(content)">{{ 'workspace-item.delete.button.confirm' | translate }}</button>
66
</div>
77

88
<ng-template #content let-c="close" let-d="dismiss" id="delete-modal">
99
<div class="modal-header">
10-
<h4 class="modal-title text-danger">{{ 'workspace-item.delete.header' | translate }}</h4>
10+
<div class="modal-title text-danger h4">{{ 'workspace-item.delete.header' | translate }}</div>
1111
<button type="button" id="delete_close" class="close" aria-label="Close" (click)="d('cancel')">
1212
<span aria-hidden="true">&times;</span>
1313
</button>

0 commit comments

Comments
 (0)