Browse Source

Merge branch 'release/0.6.3b'

Olivier Massot 4 năm trước cách đây
mục cha
commit
f72ab1321d

+ 1 - 0
ot_templating/Configuration/TypoScript/constants.txt

@@ -15,6 +15,7 @@ plugin.tx_ottemplating {
             logoPath = EXT:ot_templating/Resources/Public/media/logo-opentalent.png
             fileStorageUrl = https://api.opentalent.fr/app.php/_internal/secure/files/
             dashboardUrl = https://admin.opentalent.fr/#/dashboard
+            loginPageUrl = https://admin.opentalent.fr/#/login/
             logoutUrl = .
         }
 

+ 1 - 0
ot_templating/Configuration/TypoScript/setup.txt

@@ -80,6 +80,7 @@ plugin.tx_ottemplating {
         opentalentLogoPath = {$plugin.tx_ottemplating.settings.opentalent.logoPath}
         opentalentFileStorageUrl = {$plugin.tx_ottemplating.settings.opentalent.fileStorageUrl}
         opentalentDashboardUrl = {$plugin.tx_ottemplating.settings.opentalent.dashboardUrl}
+        opentalentLoginPageUrl = {$plugin.tx_ottemplating.settings.opentalent.loginPageUrl}
         opentalentLogoutUrl = {$plugin.tx_ottemplating.settings.opentalent.logoutUrl}
         structureId = {$plugin.tx_ottemplating.settings.organization.id}
         structureLogoId = {$plugin.tx_ottemplating.settings.organization.logoid}

+ 1 - 1
ot_templating/Resources/Private/Partials/Classic/UserToolbar.html

@@ -75,7 +75,7 @@
 
                 </f:then>
                 <f:else>
-                    <a href="https://www.opentalent.fr/login/" target="_blank">
+                    <a href="{settings.opentalentLoginPageUrl}" target="_blank">
                         <i class="fas fa-power-off"></i> <f:translate key="login"/>
                     </a>
                 </f:else>

+ 1 - 1
ot_templating/Resources/Private/Partials/Modern/UserToolbar.html

@@ -36,7 +36,7 @@
                         </a>
                     </f:then>
                     <f:else>
-                        <a href="https://www.opentalent.fr/login/"
+                        <a href="{settings.opentalentLoginPageUrl}"
                            target="_blank"
                            class="{f:if(condition: '{ot:loginFailed()}', then: 'trigger-on-load')}"
                         >