From b5ef5beaa824603f7960c7abef4930be9e639c87 Mon Sep 17 00:00:00 2001 From: Lukas Walkenbach Date: Sat, 11 Apr 2020 15:10:37 +0200 Subject: [PATCH] #2 Added dynamic fill of organisation --- rmtheme/login/template.ftl | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/rmtheme/login/template.ftl b/rmtheme/login/template.ftl index 851fdc8..e7d5ecf 100644 --- a/rmtheme/login/template.ftl +++ b/rmtheme/login/template.ftl @@ -41,6 +41,14 @@ document.title= " ${kcSanitize(msg("loginTitle",('Remedymatch')))?no_esc}"; } else if(window.location.href.includes("registration")){ document.title = "${kcSanitize(msg("registerWithTitle",('Remedymatch')))?no_esc}"; + var organisations= "${msg('organisations')}"; + var organisation = organisations.split(','); + + var options=''; + for(var i = 0; i < organisation.length; i++) + options += '