Skip to content

Commit f847ec9

Browse files
committed
showComputationalActivity
1 parent 8392236 commit f847ec9

File tree

3 files changed

+13
-3
lines changed

3 files changed

+13
-3
lines changed

services/static-webserver/client/source/class/osparc/dashboard/ResourceDetails.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -382,8 +382,9 @@ qx.Class.define("osparc.dashboard.ResourceDetails", {
382382
}
383383
});
384384

385-
386-
this.__getActivityOverviewPopUp();
385+
if (osparc.product.Utils.showComputationalActivity()) {
386+
this.__getActivityOverviewPopUp();
387+
}
387388
this.__getProjectFilesPopUp();
388389

389390
if (selectedTabId) {

services/static-webserver/client/source/class/osparc/navigation/NavigationBar.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,9 @@ qx.Class.define("osparc.navigation.NavigationBar", {
117117

118118
// right-items
119119
this.getChildControl("tasks-button");
120-
this.getChildControl("jobs-button");
120+
if (osparc.product.Utils.showComputationalActivity()) {
121+
this.getChildControl("jobs-button");
122+
}
121123
this.getChildControl("notifications-button");
122124
this.getChildControl("expiration-icon");
123125
this.getChildControl("help");

services/static-webserver/client/source/class/osparc/product/Utils.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -327,6 +327,13 @@ qx.Class.define("osparc.product.Utils", {
327327
return this.isS4LProduct() && licensesEnabled;
328328
},
329329

330+
showComputationalActivity: function() {
331+
if (this.isProduct("s4llite") || this.isProduct("tiplite")) {
332+
return false;
333+
}
334+
return true;
335+
},
336+
330337
getDefaultWelcomeCredits: function() {
331338
switch (osparc.product.Utils.getProductName()) {
332339
case "s4l":

0 commit comments

Comments
 (0)