Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion services/docker-compose.local.yml
Original file line number Diff line number Diff line change
Expand Up @@ -260,4 +260,4 @@ services:
networks:
docker-api-network:
driver_opts:
encrypted: "false" # disable locally, some WSL versions have issues with encrypted networks SEE https://github.com/microsoft/WSL/issues/10029
{} # override 'encrypted' locally, some WSL versions have issues with encrypted networks SEE https://github.com/microsoft/WSL/issues/10029
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,9 @@ qx.Class.define("osparc.store.LicensedItems", {

licensedResourceTitle: function(licensedResource) {
const name = licensedResource["source"]["features"]["name"] || osparc.store.LicensedItems.extractNameFromDescription(licensedResource);
const version = licensedResource["source"]["features"]["version"] || "";
const functionality = licensedResource["source"]["features"]["functionality"] || "Static";
return `${name}, ${functionality}`;
return `${name} ${version}, ${functionality}`;
},

extractNameFromDescription: function(licensedResource) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ qx.Class.define("osparc.study.PricingUnitLicense", {
// add price info
const price = this.getChildControl("price");
pricingUnit.bind("cost", price, "value", {
converter: v => this.tr("Credits") + ": " + v
converter: v => this.tr("Credits") + ": " + osparc.utils.Utils.addWhiteSpaces(v)
});

// add edit button
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,10 @@ qx.Class.define("osparc.utils.Utils", {

FLOATING_Z_INDEX: 1000001 + 1,

addWhiteSpaces: function(integer) {
return new Intl.NumberFormat("fr-FR").format(integer); // french will add white spaces every 3 digits
},

updateTabName: function(name) {
document.title = name;
},
Expand Down
Loading
Loading