[java-identity-provider COMMIT] /trunk/idp-conf/src/main/resources/views/logout-propagate.vm

noreply at shibboleth.net noreply at shibboleth.net
Wed Oct 28 17:04:32 EDT 2015


Author: scantor
Date: Wed Oct 28 17:04:32 2015
New Revision: 7899

URL: http://svn.shibboleth.net/view/java-identity-provider?rev=7899&view=rev
Log:
IDP-224 - Attempt to add a degree of accessibility to logout results

Modified:
    trunk/idp-conf/src/main/resources/views/logout-propagate.vm

Modified: trunk/idp-conf/src/main/resources/views/logout-propagate.vm
URL: http://svn.shibboleth.net/view/java-identity-provider/trunk/idp-conf/src/main/resources/views/logout-propagate.vm?rev=7899&r1=7898&r2=7899&view=diff
==============================================================================
--- trunk/idp-conf/src/main/resources/views/logout-propagate.vm	(original)
+++ trunk/idp-conf/src/main/resources/views/logout-propagate.vm	Wed Oct 28 17:04:32 2015
@@ -43,9 +43,9 @@
                               #set ($rpUIContext = $rpCtx.getSubcontext("net.shibboleth.idp.ui.context.RelyingPartyUIContext"))
                           #end
                           #if ($rpUIContext and $rpUIContext.getServiceName())
-                              <li id="result_$codecUtil.hex($sp.getBytes())">$htmlEncoder.encodeForHTML($rpUIContext.getServiceName())</li>
+                              <li id="result_$codecUtil.hex($sp.getBytes())" title="Logout pending">$htmlEncoder.encodeForHTML($rpUIContext.getServiceName())</li>
                           #else
-                              <li id="result_$codecUtil.hex($sp.getBytes())">$htmlEncoder.encodeForHTML($sp)</li>
+                              <li id="result_$codecUtil.hex($sp.getBytes())" title="Logout pending">$htmlEncoder.encodeForHTML($sp)</li>
                           #end
                       #end
                   </ol>
@@ -57,11 +57,14 @@
                               target.removeClass("success failure");
                               if (content && jQuery.parseJSON(content).result == "Success") {
                                   target.addClass("success");
+                                  target.prop("title", "Successful logout")
                               } else {
                                   target.addClass("failure");
+                                  target.prop("title", "Failed logout")
                               }
                           } catch (e) {
                               target.addClass("failure");
+                              target.prop("title", "Failed logout")
                           }
                           if (typeof(Storage) !== "undefined" ) {
                               var url = sessionStorage.getItem(sessionKey);



More information about the commits mailing list