[CST-5535] Add title to the page and change health tab name

This commit is contained in:
Giuseppe Digilio
2022-05-18 14:45:21 +02:00
parent ef332af17e
commit c43e25296d
3 changed files with 19 additions and 13 deletions

View File

@@ -1,10 +1,11 @@
<div class="container" *ngIf="(healthResponseInitialised | async) && (healthInfoResponseInitialised | async)">
<h2>{{'health-page.heading' | translate}}</h2>
<div *ngIf="(healthResponse | async) && (healthInfoResponse | async)">
<ul ngbNav #nav="ngbNav" [activeId]="'health'" class="nav-tabs">
<li [ngbNavItem]="'health'">
<a ngbNavLink>{{'health-page.health' | translate}}</a>
<ul ngbNav #nav="ngbNav" [activeId]="'status'" class="nav-tabs">
<li [ngbNavItem]="'status'">
<a ngbNavLink>{{'health-page.status' | translate}}</a>
<ng-template ngbNavContent>
<div id="health">
<div id="status">
<ds-health-panel [healthResponse]="(healthResponse | async)"></ds-health-panel>
</div>
</ng-template>

View File

@@ -13,7 +13,10 @@ import {
{
path: '',
resolve: { breadcrumb: I18nBreadcrumbResolver },
data: { breadcrumbKey: 'health' },
data: {
breadcrumbKey: 'health',
title: 'health-page.title',
},
canActivate: [SiteAdministratorGuard],
component: HealthPageComponent
}

View File

@@ -1583,6 +1583,14 @@
"grant-request-copy.success": "Successfully granted item request",
"health.breadcrumbs": "Health",
"health-page.heading" : "Health",
"health-page.info" : "Info",
"health-page.status" : "Status",
"health-page.error.msg": "The health check service is temporarily unavailable",
"health-page.property.status": "Status code",
@@ -1609,6 +1617,8 @@
"health-page.status.warning.info": "Possible issues detected",
"health-page.title": "Health",
"home.description": "",
@@ -2963,14 +2973,6 @@
"profile.title": "Update Profile",
"health.breadcrumbs": "Health",
"health-page.health" : "Health",
"health-page.info" : "Info",
"health-page.status" : "Status",
"project.listelement.badge": "Research Project",
"project.page.contributor": "Contributors",