From: <sp...@us...> - 2011-05-11 02:08:39
|
Revision: 7692 http://geonetwork.svn.sourceforge.net/geonetwork/?rev=7692&view=rev Author: sppigot Date: 2011-05-11 02:08:31 +0000 (Wed, 11 May 2011) Log Message: ----------- Metadata create is in the banner when modal admin dialog in use Modified Paths: -------------- sandbox/BlueNetMEST/ANZMEST/web/src/main/webapp/xsl/admin.xsl Modified: sandbox/BlueNetMEST/ANZMEST/web/src/main/webapp/xsl/admin.xsl =================================================================== --- sandbox/BlueNetMEST/ANZMEST/web/src/main/webapp/xsl/admin.xsl 2011-05-11 02:07:12 UTC (rev 7691) +++ sandbox/BlueNetMEST/ANZMEST/web/src/main/webapp/xsl/admin.xsl 2011-05-11 02:08:31 UTC (rev 7692) @@ -99,12 +99,14 @@ <!-- metadata services --> <xsl:variable name="mdServices"> - <xsl:call-template name="addrow"> - <xsl:with-param name="service" select="'metadata.create.form'"/> - <xsl:with-param name="title" select="/root/gui/strings/newMetadata"/> - <xsl:with-param name="desc" select="/root/gui/strings/newMdDes"/> - <xsl:with-param name="icon">page_add.png</xsl:with-param> - </xsl:call-template> + <xsl:if test="not(/root/request/modal)"> + <xsl:call-template name="addrow"> + <xsl:with-param name="service" select="'metadata.create.form'"/> + <xsl:with-param name="title" select="/root/gui/strings/newMetadata"/> + <xsl:with-param name="desc" select="/root/gui/strings/newMdDes"/> + <xsl:with-param name="icon">page_add.png</xsl:with-param> + </xsl:call-template> + </xsl:if> <xsl:call-template name="addrow"> <xsl:with-param name="service" select="'metadata.searchunused.form'"/> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |