From bb967003e4700f1380334d7583531a8e416c2dbf Mon Sep 17 00:00:00 2001 From: olivierdelcroix Date: Thu, 2 Oct 2025 18:24:55 +0200 Subject: [PATCH 1/4] add favicon and title to app and main --- frontend/index.html | 5 +++- tchap/resources/templates/app.html | 34 ++++++++++++++++++++++++++++ tchap/resources/templates/base.html | 1 + tchap/resources/translations/en.json | 4 ++-- tchap/resources/translations/fr.json | 4 ++-- 5 files changed, 43 insertions(+), 5 deletions(-) create mode 100644 tchap/resources/templates/app.html diff --git a/frontend/index.html b/frontend/index.html index e482ec272..af4969e24 100644 --- a/frontend/index.html +++ b/frontend/index.html @@ -13,7 +13,10 @@ - matrix-authentication-service + Tchap + + + + {{ include_asset('src/main.tsx') | indent(4) | safe }} + + + +
+ + diff --git a/tchap/resources/templates/base.html b/tchap/resources/templates/base.html index bbfc5bb5f..306fdcb8f 100644 --- a/tchap/resources/templates/base.html +++ b/tchap/resources/templates/base.html @@ -28,6 +28,7 @@ {{ include_asset('src/templates.css') | indent(4) | safe }} + {{ include_asset('tchap/css/tchap.css') | indent(4) | safe }} {{ include_asset('node_modules/@gouvfr-lasuite/integration/dist/css/homepage-full.css') | indent(4) | safe }} diff --git a/tchap/resources/translations/en.json b/tchap/resources/translations/en.json index a1f79fc8b..0fa132f06 100644 --- a/tchap/resources/translations/en.json +++ b/tchap/resources/translations/en.json @@ -34,12 +34,12 @@ } }, "app": { - "human_name": "Matrix Authentication Service", + "human_name": "Tchap", "@human_name": { "context": "index.html:15:29-48, pages/index.html:15:29-48", "description": "Human readable name of the application" }, - "name": "matrix-authentication-service", + "name": "Tchap", "@name": { "context": "app.html:17:14-27, base.html:25:31-44", "description": "Name of the application" diff --git a/tchap/resources/translations/fr.json b/tchap/resources/translations/fr.json index 806d8307a..962f02d84 100644 --- a/tchap/resources/translations/fr.json +++ b/tchap/resources/translations/fr.json @@ -11,8 +11,8 @@ "submit": "Soumettre" }, "app": { - "human_name": "Matrix Authentication Service", - "name": "matrix-authentication-service", + "human_name": "Tchap", + "name": "Tchap", "technical_description": "Document de découverte OpenID Connect : %(discovery_url)s" }, "branding": { From 04789a05a572f4e0028fb979005686e527c7d811 Mon Sep 17 00:00:00 2001 From: olivierdelcroix Date: Thu, 2 Oct 2025 18:25:05 +0200 Subject: [PATCH 2/4] move comments --- frontend/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/index.html b/frontend/index.html index af4969e24..45c5bd10e 100644 --- a/frontend/index.html +++ b/frontend/index.html @@ -13,8 +13,8 @@ - Tchap + Tchap