File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
services/static-webserver/client/source/class/osparc/support Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -87,14 +87,18 @@ qx.Class.define("osparc.support.SupportCenter", {
8787 control = new qx . ui . container . Composite ( new qx . ui . layout . VBox ( 15 ) ) ;
8888 this . getChildControl ( "stack-layout" ) . add ( control ) ;
8989 break ;
90- case "conversations-intro-text" :
90+ case "conversations-intro-text" : {
9191 control = new qx . ui . basic . Label ( ) . set ( {
92- value : this . tr ( "Welcome to the Support Center<br>Ask us anything, or share your feedback." ) ,
9392 rich : true ,
9493 font : "text-14" ,
9594 } ) ;
95+ const isSupportUser = osparc . store . Products . getInstance ( ) . amIASupportUser ( ) ;
96+ control . set ( {
97+ value : isSupportUser ? this . tr ( "Here all the support questions" ) : this . tr ( "Ask us anything, or share your feedback." ) ,
98+ } ) ;
9699 this . getChildControl ( "conversations-layout" ) . add ( control ) ;
97100 break ;
101+ }
98102 case "conversations-list" : {
99103 control = new osparc . support . Conversations ( ) ;
100104 control . addListener ( "openConversation" , e => {
You can’t perform that action at this time.
0 commit comments