mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 10:04:11 +00:00
[CST-5535] Add title to the page and change health tab name
This commit is contained in:
@@ -1,10 +1,11 @@
|
|||||||
<div class="container" *ngIf="(healthResponseInitialised | async) && (healthInfoResponseInitialised | async)">
|
<div class="container" *ngIf="(healthResponseInitialised | async) && (healthInfoResponseInitialised | async)">
|
||||||
|
<h2>{{'health-page.heading' | translate}}</h2>
|
||||||
<div *ngIf="(healthResponse | async) && (healthInfoResponse | async)">
|
<div *ngIf="(healthResponse | async) && (healthInfoResponse | async)">
|
||||||
<ul ngbNav #nav="ngbNav" [activeId]="'health'" class="nav-tabs">
|
<ul ngbNav #nav="ngbNav" [activeId]="'status'" class="nav-tabs">
|
||||||
<li [ngbNavItem]="'health'">
|
<li [ngbNavItem]="'status'">
|
||||||
<a ngbNavLink>{{'health-page.health' | translate}}</a>
|
<a ngbNavLink>{{'health-page.status' | translate}}</a>
|
||||||
<ng-template ngbNavContent>
|
<ng-template ngbNavContent>
|
||||||
<div id="health">
|
<div id="status">
|
||||||
<ds-health-panel [healthResponse]="(healthResponse | async)"></ds-health-panel>
|
<ds-health-panel [healthResponse]="(healthResponse | async)"></ds-health-panel>
|
||||||
</div>
|
</div>
|
||||||
</ng-template>
|
</ng-template>
|
||||||
|
@@ -13,7 +13,10 @@ import {
|
|||||||
{
|
{
|
||||||
path: '',
|
path: '',
|
||||||
resolve: { breadcrumb: I18nBreadcrumbResolver },
|
resolve: { breadcrumb: I18nBreadcrumbResolver },
|
||||||
data: { breadcrumbKey: 'health' },
|
data: {
|
||||||
|
breadcrumbKey: 'health',
|
||||||
|
title: 'health-page.title',
|
||||||
|
},
|
||||||
canActivate: [SiteAdministratorGuard],
|
canActivate: [SiteAdministratorGuard],
|
||||||
component: HealthPageComponent
|
component: HealthPageComponent
|
||||||
}
|
}
|
||||||
|
@@ -1583,6 +1583,14 @@
|
|||||||
"grant-request-copy.success": "Successfully granted item request",
|
"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.error.msg": "The health check service is temporarily unavailable",
|
||||||
|
|
||||||
"health-page.property.status": "Status code",
|
"health-page.property.status": "Status code",
|
||||||
@@ -1609,6 +1617,8 @@
|
|||||||
|
|
||||||
"health-page.status.warning.info": "Possible issues detected",
|
"health-page.status.warning.info": "Possible issues detected",
|
||||||
|
|
||||||
|
"health-page.title": "Health",
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
"home.description": "",
|
"home.description": "",
|
||||||
@@ -2963,14 +2973,6 @@
|
|||||||
|
|
||||||
"profile.title": "Update Profile",
|
"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.listelement.badge": "Research Project",
|
||||||
|
|
||||||
"project.page.contributor": "Contributors",
|
"project.page.contributor": "Contributors",
|
||||||
|
Reference in New Issue
Block a user