File tree Expand file tree Collapse file tree 2 files changed +12
-2
lines changed
services/static-webserver/client/source/class/osparc Expand file tree Collapse file tree 2 files changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -149,6 +149,16 @@ qx.Class.define("osparc.store.Support", {
149149 return textLink ;
150150 } ,
151151
152+ requestAccountLink : function ( centered = true ) {
153+ const color = qx . theme . manager . Color . getInstance ( ) . resolve ( "text" ) ;
154+ const link = window . location . origin + "/request-account" ;
155+ let textLink = `<a href="${ link } " style='color: ${ color } ' target='_blank'>Request Account</a>` ;
156+ if ( centered ) {
157+ textLink = `<center>${ textLink } </center>`
158+ }
159+ return textLink ;
160+ } ,
161+
152162 getMailToLabel : function ( email , subject ) {
153163 const mailto = new qx . ui . basic . Label ( this . mailToLink ( email , subject , false ) ) . set ( {
154164 font : "text-14" ,
Original file line number Diff line number Diff line change @@ -650,9 +650,9 @@ qx.Class.define("osparc.utils.Utils", {
650650 if ( osparc . product . Utils . getCreateAccountAction ( ) === "REQUEST_ACCOUNT_FORM" ) {
651651 // if the product is configured to show a form to request an account,
652652 // then show a link to it in the message
653- msg += qx . locale . Manager . tr ( ", please send us an e-mail to create an account :" ) ;
653+ msg += qx . locale . Manager . tr ( ", please request an account in the following link :" ) ;
654654 msg += "</br>" ;
655- msg += mailto ;
655+ msg += osparc . store . Support . requestAccountLink ( ) ;
656656 return msg ;
657657 }
658658 msg += qx . locale . Manager . tr ( ", please send us an e-mail to create an account:" ) ;
You can’t perform that action at this time.
0 commit comments