Added suggestion in terms of use

This commit is contained in:
vcestone 2020-09-29 17:49:48 +02:00
parent 14eafbae2d
commit f95ba8c927
2 changed files with 4 additions and 1 deletions

View File

@ -1 +1,3 @@
confirmLinkIdpReviewProfile=Review information for new profile
termsAcceptMsg=You have to scroll down the terms to read and then accept

View File

@ -3,9 +3,10 @@
<#if section = "header">
${msg("termsTitle")}
<#elseif section = "form">
<div id="kc-terms-text" style="max-height: 40vh; overflow-y: auto; padding: 10px;">
<div id="kc-terms-text" style="max-height: 40vh; overflow-y: auto; padding: 0 10px 10px 0;">
<#include "terms.html" parse=false>
</div>
<div style="text-align: right"><p>${msg("termsAcceptMsg")}</p></div>
<form class="form-actions" action="${url.loginAction}" method="POST">
<input class="${properties.kcButtonClass!} ${properties.kcButtonPrimaryClass!} ${properties.kcButtonLargeClass!}" name="accept" id="kc-accept" type="submit" value="${msg("doAccept")}" disabled />
<input class="${properties.kcButtonClass!} ${properties.kcButtonDefaultClass!} ${properties.kcButtonLargeClass!}" name="cancel" id="kc-decline" type="submit" value="${msg("doDecline")}"/>