diff 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
line wrap: on
line diff
--- a/gnv/src/main/webapp/WEB-INF/config/templates/describe-ui-static.xsl	Mon Jan 18 13:42:44 2010 +0000
+++ b/gnv/src/main/webapp/WEB-INF/config/templates/describe-ui-static.xsl	Mon Jan 18 16:21:54 2010 +0000
@@ -8,6 +8,7 @@
     <xsl:output method="html" version="1.0" encoding="UTF-8" omit-xml-declaration="no" />
 
     <xsl:param name="back-url"/>
+    <xsl:param name="selectfis"/>
 
     <!-- start parsing document -->
     <xsl:template match="*">
@@ -35,11 +36,15 @@
     <!-- match select boxes -->
     <xsl:template match="xform:select1">
         <xsl:variable name="state" select="@art:state" />
+        <xsl:variable name="fis" select="@art:fis" />
         <tr>
             <td class="historyback">
                 <xsl:if test="$state != ''">
                     <a href="{$back-url}?target={$state}">[X]</a>
                 </xsl:if>
+                <xsl:if test="$fis">
+                    <a href="{$selectfis}">[X]</a>
+                </xsl:if>
             </td>
             <th class="parameter"><xsl:value-of select="xform:label" /></th>
             <td><xsl:apply-templates select="xform:choices" /></td>

http://dive4elements.wald.intevation.org