Author: rgoers
Date: Sun Apr  7 21:26:05 2013
New Revision: 1465468

URL: http://svn.apache.org/r1465468
Log:
LOG4J2-199 - Highlight subprojects in sub-navigation.

Modified:
    logging/log4j/log4j2/trunk/src/changes/changes.xml
    logging/log4j/log4j2/trunk/src/site/site.vm

Modified: logging/log4j/log4j2/trunk/src/changes/changes.xml
URL: 
http://svn.apache.org/viewvc/logging/log4j/log4j2/trunk/src/changes/changes.xml?rev=1465468&r1=1465467&r2=1465468&view=diff
==============================================================================
--- logging/log4j/log4j2/trunk/src/changes/changes.xml (original)
+++ logging/log4j/log4j2/trunk/src/changes/changes.xml Sun Apr  7 21:26:05 2013
@@ -23,6 +23,9 @@
 
   <body>
     <release version="2.0-beta5" date="@TBD@" description="Bug fixes and 
enhancements">
+      <action issue="LOG4J2-199" dev="rgoers" type="fix" due-to="Remko Popma">
+        Highlight subprojects in sub-navigation.
+      </action>
       <action issue="LOG4J2-200" dev="rgoers" type="fix" due-to="Remko Popma">
         LoggerContext method renamed to removeFilter from removeFiler.
       </action>

Modified: logging/log4j/log4j2/trunk/src/site/site.vm
URL: 
http://svn.apache.org/viewvc/logging/log4j/log4j2/trunk/src/site/site.vm?rev=1465468&r1=1465467&r2=1465468&view=diff
==============================================================================
--- logging/log4j/log4j2/trunk/src/site/site.vm (original)
+++ logging/log4j/log4j2/trunk/src/site/site.vm Sun Apr  7 21:26:05 2013
@@ -180,6 +180,10 @@
        #if ( $alignedFileName == $currentItemHref )
        #set ($active = " active")
        #end
+       #set ( $thisProjectDir = "../${project.artifactId}" )
+       #if ($thisProjectDir == $PathTool.getDirectoryComponent( $item.href ))
+       #set ($active = " active")
+       #end
        <li class="$collapse$active">
        #link($currentItemHref $item.name $item.target $item.img $item.position 
$item.alt $item.border $item.width $item.height )
        #if ( $item && $item.items && $item.items.size() > 0 )


Reply via email to