Changes for page PublicStartingAGA
Last modified by Alexandru Colesnicov on 2020/01/27 14:52
Change comment: There is no comment for this version
Summary
-
Page properties (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Parent
-
... ... @@ -1,1 +1,1 @@ 1 - AGACode._codePublic.WebHome1 +WebHome - Content
-
... ... @@ -1,8 +1,20 @@ 1 1 {{velocity}} 2 -#if($doc.fullName!="AGACode._codePublic.Public WebHome")2 +#if($doc.fullName!="AGACode._codePublic.PublicStartingAGA") 3 3 #set($displayDocExtra = false) 4 4 #set($displayShortcuts = false) 5 5 $xwiki.ssx.use('AGACode._codePublic.PublicWebPagesStyleSheet') 6 + 7 + #set($curUser=$context.user) 8 + #if($curUser=="XWiki.XWikiGuest") 9 + (% class="xform half" %)((( 10 + {{error}}You are not logged in!{{/error}} 11 + ))) 12 + #elseif(!$xwiki.hasAdminRights() && !$xwiki.getUser($curUser).isUserInGroup("XWiki.AGAAdminGroup") && !$xwiki.getUser($curUser).isUserInGroup("XWiki.AGAUserGroup")) 13 + (% class="xform half" %)((( 14 + {{error}}You don't have rights to see all Companies list!{{/error}} 15 + ))) 16 + #else 17 + $response.sendRedirect($xwiki.getURL("AGA.WebHome", "view")) 18 + #end 6 6 #end 7 7 {{/velocity}} 8 -This site is presenting a **Platform for Gender Audit** of a companies & enterprises.