You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@bloodhound.apache.org by gj...@apache.org on 2012/05/23 11:01:50 UTC

svn commit: r1341800 - /incubator/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bloodhound_admin_theme.html

Author: gjm
Date: Wed May 23 09:01:50 2012
New Revision: 1341800

URL: http://svn.apache.org/viewvc?rev=1341800&view=rev
Log:
theme: bug fix for double div#tabcontent and improving the specification of the xpath to replace - towards #79 (from olemis)

Modified:
    incubator/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bloodhound_admin_theme.html

Modified: incubator/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bloodhound_admin_theme.html
URL: http://svn.apache.org/viewvc/incubator/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bloodhound_admin_theme.html?rev=1341800&r1=1341799&r2=1341800&view=diff
==============================================================================
--- incubator/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bloodhound_admin_theme.html (original)
+++ incubator/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bloodhound_admin_theme.html Wed May 23 09:01:50 2012
@@ -5,7 +5,7 @@
       xmlns:xi="http://www.w3.org/2001/XInclude"
       xmlns:py="http://genshi.edgewall.org/"
       py:strip="">
-  <py:match path="div[@class='admin']" once="true" buffer="false">
+  <py:match path="div[@id='content' and @class='admin']" once="true" buffer="false">
     <div id="content" class="row">
       <h1>Administration</h1>
       <div id="tabs" class="span3">
@@ -31,7 +31,7 @@
         </div>
       </div>
       <div id="tabcontent" class="span9">
-        ${select("div[@id='tabcontent']|text()")}
+        ${select("div[@id='tabcontent']/*|text()")}
         <br style="clear: right" />
       </div>
     </div>