From 2ab0745441e646327b667836fc9f73e9d8137031 Mon Sep 17 00:00:00 2001 From: "Crystal.Sea" Date: Thu, 22 Oct 2020 07:42:22 +0800 Subject: [PATCH] inducer --- .../templates/views/main/appList.ftl | 27 ++++++++++++++++--- 1 file changed, 24 insertions(+), 3 deletions(-) diff --git a/maxkey-web-maxkey/src/main/resources/templates/views/main/appList.ftl b/maxkey-web-maxkey/src/main/resources/templates/views/main/appList.ftl index d455675b..bfa32953 100644 --- a/maxkey-web-maxkey/src/main/resources/templates/views/main/appList.ftl +++ b/maxkey-web-maxkey/src/main/resources/templates/views/main/appList.ftl @@ -23,7 +23,14 @@ <#if "Desktop"!=app.protocol> - + + href="${app.loginUrl}" + + <#if "IDP"==app.inducer> + href="<@base/>/authz/${app.id}" + + target="_blank" title="${app.name}" > @@ -65,7 +72,14 @@ <#else> - + + href="${app.loginUrl}" + + <#if "IDP"==app.inducer> + href="<@base/>/authz/${app.id}" + + target="_blank" title="${app.name}" > @@ -78,7 +92,14 @@ <@locale code="button.text.visit"/> <#else> - + + href="${app.loginUrl}" + + <#if "IDP"==app.inducer> + href="<@base/>/authz/${app.id}" + + target="_blank" title="${app.name}" > <@locale code="button.text.visit"/>