From bd45d6b9e0e3419dda77da59bf330356f8228276 Mon Sep 17 00:00:00 2001
From: Odei Maiz <33152403+odeimaiz@users.noreply.github.com>
Date: Thu, 26 Sep 2024 09:33:16 +0200
Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=A8=20[Frontend]=20TIP:=20Rebranding?=
=?UTF-8?q?=20(#6446)?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
services/static-webserver/client/compile.json | 4 ++--
.../static-webserver/client/scripts/post-compile.py | 2 +-
.../static-webserver/client/source/boot/index.html | 8 ++++----
.../client/source/class/osparc/dashboard/NewStudies.js | 9 ++++++++-
.../class/osparc/product/quickStart/tis/S4LPostPro.js | 3 ++-
.../client/source/class/osparc/utils/Utils.js | 4 ++++
.../client/source/resource/osparc/new_studies.json | 10 +++++-----
7 files changed, 26 insertions(+), 14 deletions(-)
diff --git a/services/static-webserver/client/compile.json b/services/static-webserver/client/compile.json
index f6cce359eed..780532e3cf0 100644
--- a/services/static-webserver/client/compile.json
+++ b/services/static-webserver/client/compile.json
@@ -136,7 +136,7 @@
"class": "osparc.Application",
"theme": "osparc.theme.products.tis.ThemeDark",
"name": "tis",
- "title": "TI Plan - IT'IS",
+ "title": "TIP V3.0 - IT'IS",
"include": [
"iconfont.material.Load",
"iconfont.fontawesome5.Load",
@@ -152,7 +152,7 @@
"class": "osparc.Application",
"theme": "osparc.theme.products.tis.ThemeDark",
"name": "tiplite",
- "title": "TI Plan lite - IT'IS",
+ "title": "TIP.lite - IT'IS",
"include": [
"iconfont.material.Load",
"iconfont.fontawesome5.Load",
diff --git a/services/static-webserver/client/scripts/post-compile.py b/services/static-webserver/client/scripts/post-compile.py
index 6c532c83cee..afc1cd5033a 100644
--- a/services/static-webserver/client/scripts/post-compile.py
+++ b/services/static-webserver/client/scripts/post-compile.py
@@ -31,7 +31,7 @@ def update_apps_metadata():
replacements = i.get("replacements")
for key in replacements:
replace_text = replacements[key]
- data = data.replace(key, replace_text)
+ data = data.replace("${"+key+"}", replace_text)
with open(filename, "w") as file:
print(f"Updating app metadata: {filename}")
file.write(data)
diff --git a/services/static-webserver/client/source/boot/index.html b/services/static-webserver/client/source/boot/index.html
index 48b35c48db9..aa9e202a085 100644
--- a/services/static-webserver/client/source/boot/index.html
+++ b/services/static-webserver/client/source/boot/index.html
@@ -41,9 +41,9 @@
-
-
-
+
+
+
${appTitle}
-
+