Mercurial > dive4elements > gnv-client
diff gnv/src/main/webapp/WEB-INF/config/templates/describe-ui.xsl @ 1004:a0d16ccb82ba
Render direct links as list.
gnv/trunk@1214 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Tue, 15 Jun 2010 05:26:44 +0000 |
parents | b1eea43ba133 |
children | 1b42a86184f6 |
line wrap: on
line diff
--- a/gnv/src/main/webapp/WEB-INF/config/templates/describe-ui.xsl Mon Jun 14 21:10:14 2010 +0000 +++ b/gnv/src/main/webapp/WEB-INF/config/templates/describe-ui.xsl Tue Jun 15 05:26:44 2010 +0000 @@ -48,7 +48,7 @@ <legend><xsl:value-of select="xform:label"/></legend> <xsl:choose> <xsl:when test="$items < 6"> - <xsl:apply-templates mode="direct-link"/> + <ul><xsl:apply-templates mode="direct-link"/></ul> </xsl:when> <xsl:otherwise> <select name="{$selectName}"> @@ -64,11 +64,8 @@ <xsl:template match="xform:item" mode="direct-link"> <xsl:variable name="optionValue" select="xform:value"/> <xsl:variable name="selectName" select="ancestor::xform:select1/@ref"/> - <a class="linkButton" - onclick="displayOverlay()" - href="{$next-url}?{$selectName}={$optionValue}"><xsl:value-of select="xform:label"/></a> - <br/> - <br/> + <li><a onclick="displayOverlay()" + href="{$next-url}?{$selectName}={$optionValue}"><xsl:value-of select="xform:label"/></a></li> </xsl:template> <!-- multi select -->