changeset 974:a8e044224b16

Enhanced the 1-step back history to a N-step back history. gnv/trunk@1142 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Tue, 01 Jun 2010 16:11:06 +0000
parents 1bb54da8c8ed
children 5779220ebb80
files gnv/ChangeLog gnv/src/main/webapp/WEB-INF/config/templates/describe-ui-static.xsl
diffstat 2 files changed, 9 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/gnv/ChangeLog	Tue Jun 01 14:15:10 2010 +0000
+++ b/gnv/ChangeLog	Tue Jun 01 16:11:06 2010 +0000
@@ -1,3 +1,9 @@
+2010-06-01  Ingo Weinzierl <ingo.weinzierl@intevation.de>
+
+	* src/main/webapp/WEB-INF/config/templates/describe-ui-static.xsl:
+	  Implemented a N-step back history. There is a back-button besides every
+	  parameter in the static ui part now.
+
 2010-06-01  Tim Englich  <tim.englich@intevation.de>
 
 	* src/main/webapp/scripts/viewport.jsp: 
--- a/gnv/src/main/webapp/WEB-INF/config/templates/describe-ui-static.xsl	Tue Jun 01 14:15:10 2010 +0000
+++ b/gnv/src/main/webapp/WEB-INF/config/templates/describe-ui-static.xsl	Tue Jun 01 16:11:06 2010 +0000
@@ -43,11 +43,9 @@
         <xsl:param name="index" />
         <xsl:param name="fis" />
         <xsl:if test="$state != ''">
-            <xsl:if test="$index = $total">
-                <a href="{$back-url}?target={$state}">
-                    <img title="{$edit}" alt="{$edit}" src="images/back_button.png"/>
-                </a>
-            </xsl:if>
+            <a href="{$back-url}?target={$state}">
+                <img title="{$edit}" alt="{$edit}" src="images/back_button.png"/>
+            </a>
         </xsl:if>
         <xsl:if test="$fis">
             <a href="{$selectfis}"><img title="{$edit}" alt="{$edit}" src="images/back_button.png"/></a>

http://dive4elements.wald.intevation.org