Skip to Content.
Sympa Menu

grouper-users - RE: [grouper-users] logout link on SimpleMembershipUpdate.index

Subject: Grouper Users - Open Discussion List

List archive

RE: [grouper-users] logout link on SimpleMembershipUpdate.index


Chronological Thread 
  • From: Chris Hyzer <>
  • To: Colin Hudler <>, "" <>
  • Subject: RE: [grouper-users] logout link on SimpleMembershipUpdate.index
  • Date: Wed, 23 Mar 2011 12:35:07 -0400
  • Accept-language: en-US
  • Acceptlanguage: en-US

That will be in 2.0.

 

https://bugs.internet2.edu/jira/browse/GRP-585

 

This is done.  if you want to fix in previous versions, add an if statement in the commonTop.jsp (and commonTopExternal.jsp in 1.7).  e.g.

 

FROM:

 

       &nbsp; &nbsp;

       <a href=""#"" (confirm('${grouper:message('simpleMembershipUpdate.confirmLogout', true, true) }')) {location.href = 'grouper.html?operation=ExternalSubjectSelfRegister.logout'; } return false;"

       ><img src=""../../grouperExternal/public/assets/images/logout.gif"" border="0" id="logoutImage"

       alt="${grouper:message('simpleMembershipUpdate.logoutImageAlt', true, true) }" /></a>

      

       <a href=""#""

        (confirm('${grouper:message('simpleMembershipUpdate.confirmLogout', true, true) }')) {location.href = 'grouper.html?operation=ExternalSubjectSelfRegister.logout'; } return false;"><grouper:message key="simpleMembershipUpdate.logoutText"/></a>

 

 

TO:

 

     <c:if test="${mediaMap['logout.link.show']=='true'}">

       &nbsp; &nbsp;

       <a href=""#"" (confirm('${grouper:message('simpleMembershipUpdate.confirmLogout', true, true) }')) {location.href = 'grouper.html?operation=ExternalSubjectSelfRegister.logout'; } return false;"

       ><img src=""../../grouperExternal/public/assets/images/logout.gif"" border="0" id="logoutImage"

       alt="${grouper:message('simpleMembershipUpdate.logoutImageAlt', true, true) }" /></a>

      

       <a href=""#""

        (confirm('${grouper:message('simpleMembershipUpdate.confirmLogout', true, true) }')) {location.href = 'grouper.html?operation=ExternalSubjectSelfRegister.logout'; } return false;"><grouper:message key="simpleMembershipUpdate.logoutText"/></a>

     </c:if>

 

-----Original Message-----
From: [mailto:] On Behalf Of Colin Hudler
Sent: Wednesday, March 23, 2011 11:09 AM
To:
Subject: [grouper-users] logout link on SimpleMembershipUpdate.index

 

Greetings,

 

A very minor inconsistency was spotted by a user today. When using the

LiteUI, even with media.properties "logout.link.show=false", it still

has a link on the page corresponding to

"grouperUi/appHtml/grouper.html?operation=SimpleMembershipUpdate.index"

(where one searches for a group to manage).

 

This seems to correspond roughly to grouperUI

"templates/common/commonTop.jsp", which appears to include this link

unconditionally.

 

This issue is hardly worth mentioning, but maybe someone will want to

fix it any way.




Archive powered by MHonArc 2.6.16.

Top of Page