File tree Expand file tree Collapse file tree 1 file changed +9
-8
lines changed
services/static-webserver/client/source/class/osparc/dashboard Expand file tree Collapse file tree 1 file changed +9
-8
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments