Skip to content
Snippets Groups Projects
Commit 2984c480 authored by mechtelm's avatar mechtelm
Browse files

Rename PrivacyComponent to LegalNoticeComponent

Change routing /priv to /legal-notice
parent 34e522ce
No related branches found
No related tags found
No related merge requests found
Pipeline #19974 passed with warnings
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
<status-card></status-card> <status-card></status-card>
</mat-card-content> </mat-card-content>
<mat-card-actions> <mat-card-actions>
<button [routerLink]="['/priv']" mat-raised-button color="primary">Impressum/Datenschutz</button> <button [routerLink]="['/legal-notice']" mat-raised-button color="primary">Impressum/Datenschutz</button>
</mat-card-actions> </mat-card-actions>
</mat-card> </mat-card>
</div> </div>
...@@ -2,12 +2,12 @@ import { Component, Inject, OnInit } from '@angular/core'; ...@@ -2,12 +2,12 @@ import { Component, Inject, OnInit } from '@angular/core';
import { MainDataService } from '../../maindata.service'; import { MainDataService } from '../../maindata.service';
@Component({ @Component({
templateUrl: './privacy.component.html', templateUrl: './legal-notice.component.html',
styles: [ styles: [
'mat-card {margin: 10px}' 'mat-card {margin: 10px}'
] ]
}) })
export class PrivacyComponent implements OnInit { export class LegalNoticeComponent implements OnInit {
constructor( constructor(
@Inject('APP_NAME') public appName: string, @Inject('APP_NAME') public appName: string,
@Inject('APP_PUBLISHER') public appPublisher: string, @Inject('APP_PUBLISHER') public appPublisher: string,
......
...@@ -35,7 +35,7 @@ ...@@ -35,7 +35,7 @@
</mat-card-content> </mat-card-content>
<mat-card-actions> <mat-card-actions>
<button *ngIf="this.mds.sysCheckAvailable" [routerLink]="['/r/check-starter']" mat-raised-button color="primary">System-Check</button> <button *ngIf="this.mds.sysCheckAvailable" [routerLink]="['/r/check-starter']" mat-raised-button color="primary">System-Check</button>
<button [routerLink]="['/priv']" mat-raised-button color="primary">Impressum/Datenschutz</button> <button [routerLink]="['/legal-notice']" mat-raised-button color="primary">Impressum/Datenschutz</button>
</mat-card-actions> </mat-card-actions>
</mat-card> </mat-card>
</div> </div>
...@@ -13,7 +13,7 @@ import { ...@@ -13,7 +13,7 @@ import {
} from './app-route-guards'; } from './app-route-guards';
import { TestStarterComponent } from './app-root/test-starter/test-starter.component'; import { TestStarterComponent } from './app-root/test-starter/test-starter.component';
import { RouteDispatcherComponent } from './app-root/route-dispatcher/route-dispatcher.component'; import { RouteDispatcherComponent } from './app-root/route-dispatcher/route-dispatcher.component';
import { PrivacyComponent } from './app-root/privacy/privacy.component'; import { LegalNoticeComponent } from './app-root/legal-notice/legal-notice.component';
import { MonitorStarterComponent } from './app-root/monitor-starter/monitor-starter.component'; import { MonitorStarterComponent } from './app-root/monitor-starter/monitor-starter.component';
const routes: Routes = [ const routes: Routes = [
...@@ -72,8 +72,8 @@ const routes: Routes = [ ...@@ -72,8 +72,8 @@ const routes: Routes = [
] ]
}, },
{ {
path: 'priv', path: 'legal-notice',
component: PrivacyComponent component: LegalNoticeComponent
}, },
{ {
path: 'check', path: 'check',
......
...@@ -36,7 +36,7 @@ import { RouteDispatcherComponent } from './app-root/route-dispatcher/route-disp ...@@ -36,7 +36,7 @@ import { RouteDispatcherComponent } from './app-root/route-dispatcher/route-disp
import { StatusCardComponent } from './app-root/status-card/status-card.component'; import { StatusCardComponent } from './app-root/status-card/status-card.component';
import { TestStarterComponent } from './app-root/test-starter/test-starter.component'; import { TestStarterComponent } from './app-root/test-starter/test-starter.component';
import { MonitorStarterComponent } from './app-root/monitor-starter/monitor-starter.component'; import { MonitorStarterComponent } from './app-root/monitor-starter/monitor-starter.component';
import { PrivacyComponent } from './app-root/privacy/privacy.component'; import { LegalNoticeComponent } from './app-root/legal-notice/legal-notice.component';
import { AlertModule } from './shared/alert/alert.module'; import { AlertModule } from './shared/alert/alert.module';
@NgModule({ @NgModule({
...@@ -51,7 +51,7 @@ import { AlertModule } from './shared/alert/alert.module'; ...@@ -51,7 +51,7 @@ import { AlertModule } from './shared/alert/alert.module';
StatusCardComponent, StatusCardComponent,
TestStarterComponent, TestStarterComponent,
MonitorStarterComponent, MonitorStarterComponent,
PrivacyComponent LegalNoticeComponent
], ],
imports: [ imports: [
ApplicationModule, ApplicationModule,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment