Author: vmassol Date: 2008-02-02 19:13:44 +0100 (Sat, 02 Feb 2008) New Revision: 7278
Modified: xwiki-platform/skins/trunk/albatross/src/main/resources/albatross/macros.vm xwiki-platform/skins/trunk/toucan/src/main/resources/toucan/macros.vm Log: XWIKI-2053: Provide CSS hooks to allow to style Panels selectively * Fixed XHMTL validation bug... let's hope this fixes the CI build now.. Sorry about those breakages... Modified: xwiki-platform/skins/trunk/albatross/src/main/resources/albatross/macros.vm =================================================================== --- xwiki-platform/skins/trunk/albatross/src/main/resources/albatross/macros.vm 2008-02-02 12:47:02 UTC (rev 7277) +++ xwiki-platform/skins/trunk/albatross/src/main/resources/albatross/macros.vm 2008-02-02 18:13:44 UTC (rev 7278) @@ -12,7 +12,7 @@ ## Note: We pass the Panel name as an HTML class attribute so that it's possible to style ## the Panels selectively using CSS. #set ($specialClassAttribute = "") -#if ($paneldoc != "") +#if ($paneldoc && $paneldoc != "") #set ($specialClassAttribute = $util.convertToAlphaNumeric($paneldoc.name)) #end <div class="panel $expanded $specialClassAttribute"> @@ -24,7 +24,7 @@ ## Note: We pass the Panel name as an HTML class attribute so that it's possible to style ## the Panels selectively using CSS. #set ($specialClassAttribute = "") -#if ($paneldoc != "") +#if ($paneldoc && $paneldoc != "") #set ($specialClassAttribute = $util.convertToAlphaNumeric($paneldoc.name)) #end <div class="panel expanded $specialClassAttribute"> @@ -39,7 +39,7 @@ ## Note: We pass the Panel name as an HTML class attribute so that it's possible to style ## the Panels selectively using CSS. #set ($specialClassAttribute = "") -#if ($paneldoc != "") +#if ($paneldoc && $paneldoc != "") #set ($specialClassAttribute = $util.convertToAlphaNumeric($paneldoc.name)) #end <div class="large panel $expanded $specialClassAttribute"> Modified: xwiki-platform/skins/trunk/toucan/src/main/resources/toucan/macros.vm =================================================================== --- xwiki-platform/skins/trunk/toucan/src/main/resources/toucan/macros.vm 2008-02-02 12:47:02 UTC (rev 7277) +++ xwiki-platform/skins/trunk/toucan/src/main/resources/toucan/macros.vm 2008-02-02 18:13:44 UTC (rev 7278) @@ -12,7 +12,7 @@ ## Note: We pass the Panel name as an HTML class attribute so that it's possible to style ## the Panels selectively using CSS. #set ($specialClassAttribute = "") -#if ($paneldoc != "") +#if ($paneldoc && $paneldoc != "") #set ($specialClassAttribute = $util.convertToAlphaNumeric($paneldoc.name)) #end <div class="panel $expanded $specialClassAttribute"> @@ -24,7 +24,7 @@ ## Note: We pass the Panel name as an HTML class attribute so that it's possible to style ## the Panels selectively using CSS. #set ($specialClassAttribute = "") -#if ($paneldoc != "") +#if ($paneldoc && $paneldoc != "") #set ($specialClassAttribute = $util.convertToAlphaNumeric($paneldoc.name)) #end <div class="panel expanded $specialClassAttribute"> @@ -39,7 +39,7 @@ ## Note: We pass the Panel name as an HTML class attribute so that it's possible to style ## the Panels selectively using CSS. #set ($specialClassAttribute = "") -#if ($paneldoc != "") +#if ($paneldoc && $paneldoc != "") #set ($specialClassAttribute = $util.convertToAlphaNumeric($paneldoc.name)) #end <div class="large panel $expanded $specialClassAttribute"> _______________________________________________ notifications mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/notifications
