Mercurial > dive4elements > gnv-client
changeset 149:9b7f74e58f8d
Changed Lablevalues according to issue47
gnv/trunk@237 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Tim Englich <tim.englich@intevation.de> |
---|---|
date | Mon, 19 Oct 2009 09:10:15 +0000 (2009-10-19) |
parents | 42925758e384 |
children | c5408b0f34c7 |
files | gnv/ChangeLog gnv/src/main/resources/applicationMessages_en.properties gnv/src/main/webapp/WEB-INF/config/templates/describe-ui.xsl |
diffstat | 3 files changed, 14 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/gnv/ChangeLog Fri Oct 16 15:07:59 2009 +0000 +++ b/gnv/ChangeLog Mon Oct 19 09:10:15 2009 +0000 @@ -1,3 +1,11 @@ +2009-10-19 Tim Englich <tim.englich@intevation.de> + + * src/main/resources/applicationMessages_en.properties: + Changed Lablevalues according to issue47 + * src/main/webapp/WEB-INF/config/templates/describe-ui.xsl: + Add the possibility to render XForms-Group-Lables as Legend-Entries of + one Step in the GUI + 2009-10-16 Tim Englich <tim.englich@intevation.de> * src/main/resources/applicationMessages_en.properties:
--- a/gnv/src/main/resources/applicationMessages_en.properties Fri Oct 16 15:07:59 2009 +0000 +++ b/gnv/src/main/resources/applicationMessages_en.properties Mon Oct 19 09:10:15 2009 +0000 @@ -22,7 +22,7 @@ gnviewer.draw.button = Draw gnviewer.productselection.overlay.title = Your request will be processed. Please wait... -gnviewer.productselection.fisselection.title = FIS +gnviewer.productselection.fisselection.title = Data set # Statistik gnviewer.statistics.header.title=Statistics
--- a/gnv/src/main/webapp/WEB-INF/config/templates/describe-ui.xsl Fri Oct 16 15:07:59 2009 +0000 +++ b/gnv/src/main/webapp/WEB-INF/config/templates/describe-ui.xsl Mon Oct 19 09:10:15 2009 +0000 @@ -28,6 +28,11 @@ </xsl:choose> </xsl:template> + <xsl:template match="*[local-name() = 'group']"> + <xsl:variable name="selectName" select="@ref"/> + <legend><xsl:value-of select="*[local-name() = 'label']"/></legend> + <xsl:apply-templates/> + </xsl:template> <xsl:template match="*[local-name() = 'input']"> <xsl:variable name="inputValue" select="*[local-name() = 'value']"/>