comparison gnv/src/main/webapp/WEB-INF/config/templates/describe-ui-static.xsl @ 401:002a4d38c16d

Added a link to jump back to the fis selection. gnv/trunk@568 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Mon, 18 Jan 2010 16:21:54 +0000
parents 14eecfde4607
children 3a286c9e186c
comparison
equal deleted inserted replaced
400:a8b1875dcd93 401:002a4d38c16d
6 xmlns:art="http://www.intevation.de/2009/artifacts"> 6 xmlns:art="http://www.intevation.de/2009/artifacts">
7 7
8 <xsl:output method="html" version="1.0" encoding="UTF-8" omit-xml-declaration="no" /> 8 <xsl:output method="html" version="1.0" encoding="UTF-8" omit-xml-declaration="no" />
9 9
10 <xsl:param name="back-url"/> 10 <xsl:param name="back-url"/>
11 <xsl:param name="selectfis"/>
11 12
12 <!-- start parsing document --> 13 <!-- start parsing document -->
13 <xsl:template match="*"> 14 <xsl:template match="*">
14 <table class="static"> 15 <table class="static">
15 <xsl:apply-templates /> 16 <xsl:apply-templates />
33 34
34 35
35 <!-- match select boxes --> 36 <!-- match select boxes -->
36 <xsl:template match="xform:select1"> 37 <xsl:template match="xform:select1">
37 <xsl:variable name="state" select="@art:state" /> 38 <xsl:variable name="state" select="@art:state" />
39 <xsl:variable name="fis" select="@art:fis" />
38 <tr> 40 <tr>
39 <td class="historyback"> 41 <td class="historyback">
40 <xsl:if test="$state != ''"> 42 <xsl:if test="$state != ''">
41 <a href="{$back-url}?target={$state}">[X]</a> 43 <a href="{$back-url}?target={$state}">[X]</a>
44 </xsl:if>
45 <xsl:if test="$fis">
46 <a href="{$selectfis}">[X]</a>
42 </xsl:if> 47 </xsl:if>
43 </td> 48 </td>
44 <th class="parameter"><xsl:value-of select="xform:label" /></th> 49 <th class="parameter"><xsl:value-of select="xform:label" /></th>
45 <td><xsl:apply-templates select="xform:choices" /></td> 50 <td><xsl:apply-templates select="xform:choices" /></td>
46 </tr> 51 </tr>

http://dive4elements.wald.intevation.org