Skip to content

Commit

Permalink
extra changes in GRNET terms and Conditions
Browse files Browse the repository at this point in the history
  • Loading branch information
cgeorgilakis-grnet committed May 30, 2024
1 parent deba32a commit 72b3f6c
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,14 @@
<#import "register-commons.ftl" as registerCommons>
<@layout.registrationLayout displayMessage=!messagesPerField.existsError('username','email','firstName','lastName','termsAccepted'); section>
<#if section = "header">
${msg("loginProfileTitle")}
<b>${msg("loginProfileTitle")}</b>
<#elseif section = "form">
<form id="kc-update-profile-form" class="${properties.kcFormClass!}" action="${url.loginAction}" method="post">
<div class="form-group">
<div class="${properties.kcInputWrapperClass!}">
${msg("loginProfileDescription")}
</div>
</div>
<#if user.editUsernameAllowed>
<div class="${properties.kcFormGroupClass!}" style="display:none;">
<div class="${properties.kcLabelWrapperClass!}">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,7 @@ oauthGrantInformation=Make sure you trust {0} by learning how it will handle you
acceptTerms=Acceptable User Policy
acceptTermsTxt=I agree to the
loginProfileTitle=Welcome! Sign up
doSignUp=Sign Up
loginProfileDescription=Please take a minute to sign up.\
To make the sign-up process quicker and easier, some information has been pre-filled based on your authentication provider.\
Please review, complete any missing details, and confirm your information.
doSignUp=Sign Up
7 changes: 6 additions & 1 deletion src/main/resources/theme/rciam/login/update-user-profile.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,15 @@
<#import "register-commons.ftl" as registerCommons>
<@layout.registrationLayout displayMessage=messagesPerField.exists('global') displayRequiredFields=true; section>
<#if section = "header">
${msg("loginProfileTitle")}
<b>${msg("loginProfileTitle")}</b>
<#elseif section = "form">
<form id="kc-update-profile-form" class="${properties.kcFormClass!}" action="${url.loginAction}" method="post">

<div class="form-group">
<div class="${properties.kcInputWrapperClass!}">
${msg("loginProfileDescription")}
</div>
</div>
<@userProfileCommons.userProfileFormFields/>
<@registerCommons.termsAcceptance/>

Expand Down

0 comments on commit 72b3f6c

Please sign in to comment.