diff --git a/services/web/app/views/project/list.pug b/services/web/app/views/project/list.pug index 0ef563f929..7df72f7304 100644 --- a/services/web/app/views/project/list.pug +++ b/services/web/app/views/project/list.pug @@ -10,6 +10,7 @@ block append meta meta(name="ol-notificationsInstitution" data-type="json" content=notificationsInstitution) meta(name="ol-userAffiliations" data-type="json" content=userAffiliations) meta(name="ol-userEmails" data-type="json" content=userEmails) + meta(name="ol-userHasNoSubscription" data-type="boolean" content=!!(settings.enableSubscriptions && !hasSubscription)) meta(name="ol-allInReconfirmNotificationPeriods" data-type="json" content=allInReconfirmNotificationPeriods) meta(name="ol-reconfirmedViaSAML" content=reconfirmedViaSAML) meta(name="ol-algolia" data-type="json" content={ @@ -60,8 +61,3 @@ block content include ./list/notifications include ./list/modals - - //- include ./list/front-chat - - script(type="text/javascript", nonce=scriptNonce). - window.userHasNoSubscription = #{!!(settings.enableSubscriptions && !hasSubscription)} diff --git a/services/web/app/views/project/list/front-chat.pug b/services/web/app/views/project/list/front-chat.pug deleted file mode 100644 index 28911319a7..0000000000 --- a/services/web/app/views/project/list/front-chat.pug +++ /dev/null @@ -1,4 +0,0 @@ -if (frontChatWidgetRoomId) - script(type="text/javascript", nonce=scriptNonce). - window.FCSP = '#{frontChatWidgetRoomId}'; - script(type="text/javascript", nonce=scriptNonce, src="https://chat-assets.frontapp.com/v1/chat.bundle.js")