Skip to content

Commit 844a605

Browse files
alisaismailatitdonohue
authored andcommitted
[CST-15591] Fixed headings by their rank
1 parent 07bbb00 commit 844a605

File tree

11 files changed

+25
-25
lines changed

11 files changed

+25
-25
lines changed

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

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

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
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 p-2">{{ 'community.create.head' | translate }}</h2>
6-
<h2 *ngIf="parent" id="sub-header"
7-
class="border-bottom pb-2">{{ 'community.create.sub-head' | translate:{ parent: dsoNameService.getName(parent) } }}</h2>
5+
<h1 *ngIf="!parent" id="header" class="border-bottom p-2">{{ 'community.create.head' | translate }}</h1>
6+
<h1 *ngIf="parent" id="sub-header"
7+
class="border-bottom pb-2">{{ 'community.create.sub-head' | translate:{ parent: dsoNameService.getName(parent) } }}</h1>
88
</ng-container>
99
</div>
1010
</div>

src/app/notifications/qa/events/quality-assurance-events.component.html

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
<div class="container">
22
<div class="row">
33
<div class="col-12">
4-
<h2 class="border-bottom pb-2">
4+
<h1 class="border-bottom pb-2">
55
<div class="d-flex justify-content-between">
66
{{'notifications.events.title'| translate}}
77
</div>
8-
</h2>
8+
</h1>
99
<ds-alert *ngIf="!targetId" [type]="'alert-info'">
1010
<span [innerHTML]="'quality-assurance.events.description' | translate : {topic: selectedTopicName, source: sourceId}"></span>
1111
</ds-alert>
@@ -17,9 +17,9 @@ <h2 class="border-bottom pb-2">
1717
</div>
1818
<div class="row">
1919
<div class="col-12">
20-
<h4 class="border-bottom pb-2">
20+
<h2 class="border-bottom pb-2">
2121
{{'quality-assurance.events.topic' | translate}} {{this.showTopic}}
22-
</h4>
22+
</h2>
2323

2424
<ds-loading class="container" *ngIf="(isEventPageLoading | async)" message="{{'quality-assurance.loading' | translate}}"></ds-loading>
2525

@@ -247,7 +247,7 @@ <h4 class="modal-title" id="acceptModal">{{'quality-assurance.event.sure' | tran
247247

248248
<ng-template #ignoreModal let-modal>
249249
<div class="modal-header">
250-
<h4 class="modal-title" id="ignoreModal">{{'quality-assurance.event.sure' | translate}}</h4>
250+
<h1 class="modal-title h4" id="ignoreModal">{{'quality-assurance.event.sure' | translate}}</h1>
251251
</div>
252252
<div class="modal-body">
253253
<p>{{'quality-assurance.event.ignore.description' | translate}}</p>
@@ -264,7 +264,7 @@ <h4 class="modal-title" id="ignoreModal">{{'quality-assurance.event.sure' | tran
264264

265265
<ng-template #rejectModal let-modal>
266266
<div class="modal-header">
267-
<h4 class="modal-title" id="rejectModal">{{'quality-assurance.event.sure' | translate}}</h4>
267+
<h1 class="modal-title h4" id="rejectModal">{{'quality-assurance.event.sure' | translate}}</h1>
268268
</div>
269269
<div class="modal-body">
270270
<p>{{'quality-assurance.event.reject.description' | translate}}</p>
@@ -281,7 +281,7 @@ <h4 class="modal-title" id="rejectModal">{{'quality-assurance.event.sure' | tran
281281

282282
<ng-template #undoModal let-modal>
283283
<div class="modal-header">
284-
<h4 class="modal-title" id="undoModal">{{'quality-assurance.event.sure' | translate}}</h4>
284+
<h1 class="modal-title h4" id="undoModal">{{'quality-assurance.event.sure' | translate}}</h1>
285285
</div>
286286
<div class="modal-body">
287287
<p>{{'quality-assurance.event.undo.description' | translate}}</p>

src/app/notifications/qa/source/quality-assurance-source.component.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
<div class="container">
22
<div class="row">
33
<div class="col-12">
4-
<h2 class="border-bottom pb-2">{{'quality-assurance.title'| translate}}</h2>
4+
<h1 class="border-bottom pb-2">{{'quality-assurance.title'| translate}}</h1>
55
<ds-alert [type]="'alert-info'" [content]="'quality-assurance.source.description'"></ds-alert>
66
</div>
77
</div>
88
<div class="row">
99
<div class="col-12">
10-
<h3 class="h4 border-bottom pb-2">{{'quality-assurance.source'| translate}}</h3>
10+
<h2 class="h4 border-bottom pb-2">{{'quality-assurance.source'| translate}}</h2>
1111

1212
<ds-loading class="container" *ngIf="(isSourceLoading() | async)" message="{{'quality-assurance.loading' | translate}}"></ds-loading>
1313
<ds-pagination *ngIf="(isSourceLoading() | async) !== true"

src/app/notifications/qa/topics/quality-assurance-topics.component.html

Lines changed: 2 additions & 2 deletions
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">
4-
<h2 class="border-bottom pb-2">{{'quality-assurance.title'| translate}}</h2>
4+
<h1 class="border-bottom pb-2">{{'quality-assurance.title'| translate}}</h1>
55
<ds-alert *ngIf="!targetId" [type]="'alert-info'">{{'quality-assurance.topics.description'| translate:{source: sourceId} }}</ds-alert>
66
<ds-alert *ngIf="targetId" [type]="'alert-info'">
77
{{'quality-assurance.topics.description-with-target'| translate:{source: sourceId} }}
@@ -11,7 +11,7 @@ <h2 class="border-bottom pb-2">{{'quality-assurance.title'| translate}}</h2>
1111
</div>
1212
<div class="row">
1313
<div class="col-12">
14-
<h4 class="border-bottom pb-2">{{'quality-assurance.topics'| translate}}</h4>
14+
<h2 class="border-bottom pb-2">{{'quality-assurance.topics'| translate}}</h2>
1515

1616
<ds-loading class="container" *ngIf="(isTopicsLoading() | async)" message="{{'quality-assurance.loading' | translate}}"></ds-loading>
1717
<ds-pagination *ngIf="(isTopicsLoading() | async) !== true"

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-badges [object]="item" [context]="badgeContext" [showAccessStatus]="true"></ds-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
@@ -51,7 +51,7 @@
5151
<ng-template #noFileUploaded>
5252
<div class="row">
5353
<div class="col-md-12">
54-
<h3 class="text-center"><span class="text-muted">{{'submission.sections.upload.no-file-uploaded' | translate}}</span></h3>
54+
<div class="text-center h3"><span class="text-muted">{{'submission.sections.upload.no-file-uploaded' | translate}}</span></div>
5555
</div>
5656
</div>
5757
</ng-template>

0 commit comments

Comments
 (0)