Skip to content

Commit 0b4bf88

Browse files
committed
trashed by
1 parent 690fa62 commit 0b4bf88

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

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

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -157,11 +157,15 @@ qx.Class.define("osparc.dashboard.WorkspaceButtonItem", {
157157
layout = this.getChildControl("footer");
158158
layout.addAt(control, osparc.dashboard.WorkspaceButtonBase.FPOS.DATE);
159159
break;
160-
case "last-touching-icon":
161-
control = new qx.ui.basic.Image().set({
160+
case "last-touching-atom":
161+
control = new qx.ui.basic.Atom().set({
162162
alignY: "middle",
163163
allowGrowX: false,
164-
allowShrinkX: false
164+
allowShrinkX: false,
165+
label: "by",
166+
font: "text-12",
167+
icon: osparc.dashboard.CardBase.SHARED_USER,
168+
iconPosition: "right",
165169
});
166170
layout = this.getChildControl("footer");
167171
layout.addAt(control, osparc.dashboard.WorkspaceButtonBase.FPOS.LAST_TOUCHING);
@@ -281,11 +285,8 @@ qx.Class.define("osparc.dashboard.WorkspaceButtonItem", {
281285
__applyTrashedBy: function(gid) {
282286
if (gid) {
283287
// OM: at the moment I'm receiving userId
284-
const label = this.getChildControl("date-text");
285-
label.setValue(label.getValue() + " by ");
286-
const icon = this.getChildControl("last-touching-icon");
287-
osparc.dashboard.CardBase.populateTooltip(icon, [gid]);
288-
icon.setSource(osparc.dashboard.CardBase.SHARED_USER);
288+
const atom = this.getChildControl("last-touching-atom");
289+
osparc.dashboard.CardBase.populateTooltip(atom, [gid]);
289290
}
290291
},
291292

0 commit comments

Comments
 (0)