added locale backup + en support
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
.text-warning {
|
||||
color: darkred;
|
||||
}
|
||||
@@ -2,7 +2,8 @@ import {Component, OnInit} from '@angular/core';
|
||||
|
||||
@Component({
|
||||
selector: 'app-imprint',
|
||||
templateUrl: './general.imprint.html'
|
||||
templateUrl: './general.imprint.html',
|
||||
styleUrls: ['./general.component.scss']
|
||||
})
|
||||
export class ImprintComponent implements OnInit {
|
||||
|
||||
@@ -16,7 +17,8 @@ export class ImprintComponent implements OnInit {
|
||||
|
||||
@Component({
|
||||
selector: 'app-privacy-policy',
|
||||
templateUrl: './general.privacy-policy.html'
|
||||
templateUrl: './general.privacy-policy.html',
|
||||
styleUrls: ['./general.component.scss']
|
||||
})
|
||||
export class PrivacyPolicyComponent implements OnInit {
|
||||
|
||||
@@ -30,7 +32,8 @@ export class PrivacyPolicyComponent implements OnInit {
|
||||
|
||||
@Component({
|
||||
selector: 'app-terms-of-service',
|
||||
templateUrl: './general.terms-of-service.html'
|
||||
templateUrl: './general.terms-of-service.html',
|
||||
styleUrls: ['./general.component.scss']
|
||||
})
|
||||
export class TermsOfServiceComponent implements OnInit {
|
||||
|
||||
|
||||
@@ -8,4 +8,12 @@
|
||||
{{'service-unavailable.text' | i18n}}
|
||||
</p>
|
||||
</mat-card-content>
|
||||
<mat-card-actions>
|
||||
<a mat-raised-button color="primary" (click)="retry()">
|
||||
{{'service-unavailable.retry' | i18n}}
|
||||
</a>
|
||||
<a mat-raised-button href="https://wiki.bstly.de/help#Support">
|
||||
{{'service-unavailable.support' | i18n}}
|
||||
</a>
|
||||
</mat-card-actions>
|
||||
</mat-card>
|
||||
@@ -10,6 +10,6 @@ mat-card {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
mat-card-content {
|
||||
padding: 16px;
|
||||
mat-card-content, mat-card-actions {
|
||||
padding: 16px !important;
|
||||
}
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import { Component, OnInit } from '@angular/core';
|
||||
import {Component, OnInit} from '@angular/core';
|
||||
import { Location } from '@angular/common'
|
||||
|
||||
@Component({
|
||||
selector: 'app-unavailable',
|
||||
@@ -7,9 +8,14 @@ import { Component, OnInit } from '@angular/core';
|
||||
})
|
||||
export class UnavailableComponent implements OnInit {
|
||||
|
||||
constructor() { }
|
||||
constructor(
|
||||
private location: Location) {}
|
||||
|
||||
ngOnInit(): void {
|
||||
}
|
||||
|
||||
retry() {
|
||||
this.location.back();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user