[java-identity-provider] branch main updated: Adjust fieldset and add legend around radio buttons.

Scott Cantor cantor.2 at osu.edu
Fri Mar 4 16:51:09 UTC 2022


This is an automated email from the git hooks/post-receive script.

scantor pushed a commit to branch main
in repository java-identity-provider.

View the commit online:
http://git.shibboleth.net/view/?p=java-identity-provider.git;a=commit;h=fa8c859f27f233d161d01dffadf15b87828f7f20

The following commit(s) were added to refs/heads/main by this push:
     new fa8c859f2 Adjust fieldset and add legend around radio buttons.
fa8c859f2 is described below

commit fa8c859f27f233d161d01dffadf15b87828f7f20
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Fri Mar 4 11:51:04 2022 -0500

    Adjust fieldset and add legend around radio buttons.
---
 .../idp/module/views/intercept/attribute-release.vm          | 12 +++++-------
 1 file changed, 5 insertions(+), 7 deletions(-)

diff --git a/idp-conf-impl/src/main/resources/net/shibboleth/idp/module/views/intercept/attribute-release.vm b/idp-conf-impl/src/main/resources/net/shibboleth/idp/module/views/intercept/attribute-release.vm
index 18e9054e6..0fd48b76e 100644
--- a/idp-conf-impl/src/main/resources/net/shibboleth/idp/module/views/intercept/attribute-release.vm
+++ b/idp-conf-impl/src/main/resources/net/shibboleth/idp/module/views/intercept/attribute-release.vm
@@ -107,28 +107,26 @@
 
                 <p>#springMessageText("idp.attribute-release.confirmationQuestion", "The information above would be shared with the service if you proceed. Do you agree to release this information to the service every time you access it?")</p>
 
+                <fieldset>
                 #if ($attributeReleaseFlowDescriptor.doNotRememberConsentAllowed || $attributeReleaseFlowDescriptor.globalConsentAllowed)
-                    <p><strong>#springMessageText("idp.attribute-release.consentMethod", "Select an information release consent duration:")</strong></p>
+                    <legend>
+                        <p><strong>#springMessageText("idp.attribute-release.consentMethod", "Select an information release consent duration:")</strong></p>
+                    </legend>
                 #end
                 
                 #if ($attributeReleaseFlowDescriptor.doNotRememberConsentAllowed)
-                    <fieldset>
                         <input id="_shib_idp_doNotRememberConsent" type="radio" name="_shib_idp_consentOptions" value="_shib_idp_doNotRememberConsent">
                         <label for="_shib_idp_doNotRememberConsent">#springMessageText("idp.attribute-release.doNotRememberConsent", "Ask me again at next login")<br /><small>#springMessageText("idp.attribute-release.doNotRememberConsentItem", "I agree to send my information this time.")</small></label>
-                    </fieldset>
                 #end
                 #if ($attributeReleaseFlowDescriptor.doNotRememberConsentAllowed || $attributeReleaseFlowDescriptor.globalConsentAllowed)
-                    <fieldset>
                         <input id="_shib_idp_rememberConsent" type="radio" name="_shib_idp_consentOptions" value="_shib_idp_rememberConsent" checked>
                         <label for="_shib_idp_rememberConsent">#springMessageText("idp.attribute-release.rememberConsent", "Ask me again if information changes")<br /><small>#springMessageText("idp.attribute-release.rememberConsentItem", "I agree that the same information will be sent automatically to this service in the future.")</small></label>
-                    </fieldset>
                 #end
                 #if ($attributeReleaseFlowDescriptor.globalConsentAllowed)
-                    <fieldset>
                         <input id="_shib_idp_globalConsent" type="radio" name="_shib_idp_consentOptions" value="_shib_idp_globalConsent">
                         <label for="_shib_idp_globalConsent">#springMessageText("idp.attribute-release.globalConsent", "Do not ask me again")<br /><small>#springMessageText("idp.attribute-release.globalConsentItem", "I agree that <strong>all</strong> of my information will be released to <strong>any</strong> service.")</small></label>
-                    </fieldset>
                 #end
+                </fieldset>
 
                 <div class="grid md-2">
                     <div class="grid-item">

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the commits mailing list