Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🎨 [Frontend] TIP: Rebranding #6446

Merged
merged 14 commits into from
Sep 26, 2024
4 changes: 2 additions & 2 deletions services/static-webserver/client/compile.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
odeimaiz marked this conversation as resolved.
Show resolved Hide resolved
"include": [
"iconfont.material.Load",
"iconfont.fontawesome5.Load",
Expand All @@ -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",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,10 @@ qx.Class.define("osparc.dashboard.NewStudies", {
const newStudyClicked = () => this.fireDataEvent("newStudyClicked", templateInfo);

const title = templateInfo.title;
const desc = templateInfo.description;
let desc = templateInfo.description;
if (desc) {
desc = desc.replace("replace_me_product_name", osparc.store.StaticInfo.getInstance().getDisplayName());
}
const newPlanButton = new osparc.dashboard.GridButtonNew(title, desc);
newPlanButton.setCardKey(templateInfo.idToWidget);
osparc.utils.Utils.setIdToWidget(newPlanButton, templateInfo.idToWidget);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ qx.Class.define("osparc.product.quickStart.tis.S4LPostPro", {
construct: function() {
let title = "";
if (osparc.product.Utils.isProduct("tiplite")) {
title += "<i>" + this.tr("(Not available in TIP lite)") + "</i><br><br>";
const notAvailableText = this.tr("Not available in");
title += ` <i>(${notAvailableText} ${osparc.store.StaticInfo.getInstance().getDisplayName()})</i><br><br>`;
}
title += this.tr("Sim4Life Post Processing");
this.base(arguments, title);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,23 +68,23 @@
"showDisabled": true,
"expectedTemplateLabel": "mcTI Planning Tool",
"title": "Multichannel TI",
"description": "Not available in TIP lite",
"description": "Not available in replace_me_product_name",
odeimaiz marked this conversation as resolved.
Show resolved Hide resolved
"newStudyLabel": "Multichannel TI",
"category": "precomputed",
"idToWidget": "newMTIPlanButton"
}, {
"showDisabled": true,
"expectedTemplateLabel": "pmTI Planning Tool",
"title": "Phase-modulation TI",
"description": "Not available in TIP lite",
"description": "Not available in replace_me_product_name",
odeimaiz marked this conversation as resolved.
Show resolved Hide resolved
"newStudyLabel": "Phase-modulation TI",
"category": "precomputed",
"idToWidget": "newPMTIPlanButton"
}, {
"showDisabled": true,
"expectedTemplateLabel": "personalized TI Planning Tool",
"title": "Personalized<br>Classic TI",
"description": "Not available in TIP lite",
"description": "Not available in replace_me_product_name",
"newStudyLabel": "Personalized Classic TI",
"category": "personalized",
"idToWidget": "personalizationNewTIPlanButton",
Expand All @@ -93,7 +93,7 @@
"showDisabled": true,
"expectedTemplateLabel": "personalized mcTI Planning Tool",
"title": "Personalized<br>Multichannel TI",
"description": "Not available in TIP lite",
"description": "Not available in replace_me_product_name",
"newStudyLabel": "Personalized Multichannel TI",
"category": "personalized",
"idToWidget": "personalizationNewMTIPlanButton",
Expand All @@ -102,7 +102,7 @@
"showDisabled": true,
"expectedTemplateLabel": "personalized pmTI Planning Tool",
"title": "Personalized<br>Phase-modulation TI",
"description": "Not available in TIP lite",
"description": "Not available in replace_me_product_name",
"newStudyLabel": "Personalized Phase-modulation TI",
"category": "personalized",
"idToWidget": "personalizationNewPMTIPlanButton",
Expand Down
Loading