Skip to content
This repository has been archived by the owner on Sep 15, 2023. It is now read-only.

Commit

Permalink
Merge pull request #19 from admin-ch/meta
Browse files Browse the repository at this point in the history
Meta
  • Loading branch information
gillerr committed Nov 12, 2020
2 parents b88f641 + fdbebfc commit 1a04080
Show file tree
Hide file tree
Showing 8 changed files with 17 additions and 12 deletions.
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ha-ui",
"version": "1.0.6",
"version": "1.0.7",
"scripts": {
"start": "ng serve",
"build": "ng build",
Expand Down
2 changes: 1 addition & 1 deletion src/app/app.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ registerLocaleData(localeENGB);
export class AppModule {
constructor(private readonly config: ObMasterLayoutConfig, meta: ObDocumentMetaService) {
meta.titleSuffix = 'application.title';
meta.description = 'home.text1';
meta.description = 'application.description';
config.layout.hasMainNavigation = false;
config.locale.locales = [
{id: 'locale-de_button', locale: 'de'},
Expand Down
1 change: 1 addition & 0 deletions src/assets/i18n/de.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"application.title": "Covidcode BAG",
"application.description": "Die Fachperson gibt den Covidcode der infizierten Person bekannt. Diese kann den Covidcode in ihre SwissCovid-App eingeben.",
"application.organization.name": "Bundesamt für Informatik und Telekommunikation BIT",
"generate-code.generate": "Covidcode erzeugen",
"generate-code.onset": "Datum Erstsymptome",
Expand Down
1 change: 1 addition & 0 deletions src/assets/i18n/en.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"application.title": "Covidcode FOPH",
"application.description": "The specialist gives the Covidcode to the infected person. The infected person may choose to enter the Covidcode into their SwissCovid app.",
"application.organization.name": "Federal Office of Information Technology, Systems and Telecommunication FOITT",
"generate-code.generate": "Generate Covidcode",
"generate-code.onset": "Date of first symptoms",
Expand Down
1 change: 1 addition & 0 deletions src/assets/i18n/fr.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"application.title": "Covidcode OFSP",
"application.description": "Le professionnel communique le code COVID à la personne infectée. Celle-ci peut saisir le code COVID dans son application SwissCovid.",
"application.organization.name": "Office fédéral de l'informatique et de la télécommunication OFIT",
"generate-code.generate": "Générer Covidcode",
"generate-code.onset": "Date des premiers symptômes",
Expand Down
1 change: 1 addition & 0 deletions src/assets/i18n/it.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"application.title": "Covidcode UFSP",
"application.description": "Lo specialista comunica il codice Covid alla persona infetta. Quest’ultima lo può immettere nella sua app SwissCovid.",
"application.organization.name": "Ufficio federale dell'informatica e della telecomunicazione UFIT",
"generate-code.generate": "Genera Covidcode",
"generate-code.onset": "Data di primi sintomi",
Expand Down
19 changes: 10 additions & 9 deletions src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,21 +7,22 @@
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta charset="utf-8" />
<title>www.covidcode.admin.ch</title>
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
<meta name="Description" content="Author: Oblique Team, Category: APi" />
<meta
name="Description"
content="The specialist gives the Covidcode to the infected person. The infected person may choose to enter the Covidcode into their SwissCovid app."
/>
<base href="/" />
<link href="assets/styles/images/favicon.png" rel="shortcut icon" />
</head>
<body class="has-overlay">
<noscript>
<div class="default-layout">
<h1>Oblique</h1>
<div class="alert alert-error">
<span class="sr-only">Error</span>
<h4>Javascript required!</h4>
<p class="lead">JavaScript must be enabled to use this app.</p>
<p>Please enable JavaScript in your browser and refresh the page.</p>
</div>
<div class="alert alert-error">
<span class="sr-only">Error</span>
<h4>Javascript required!</h4>
<p class="lead">JavaScript must be enabled to use this app.</p>
<p>Please enable JavaScript in your browser and refresh the page.</p>
</div>
</noscript>
<ha-root></ha-root>
Expand Down

0 comments on commit 1a04080

Please sign in to comment.