Skip Menu |

This queue is for tickets about the Bio-Das-ProServer CPAN distribution.

Report information
The Basics
Id: 68341
Status: resolved
Priority: 0/
Queue: Bio-Das-ProServer

People
Owner: Nobody in particular
Requestors: ian.sillitoe [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: (no value)
Fixed in: (no value)



Subject: broken link for structure on 'sources' page
Hi, Just been upgrading ProServer after a long time - all looks very nice indeed - excellent work. Think the sources XSL could do with an extra clause to deal with structure (i.e. "query=xxx" rather then the default "segment=xxx"). Cheers, Ian
Subject: tmp.diff
Index: stylesheets/xsl_sources.xsl =================================================================== --- stylesheets/xsl_sources.xsl (revision 729) +++ stylesheets/xsl_sources.xsl (working copy) @@ -74,6 +74,9 @@ <xsl:when test="($command='interaction')"> [<a><xsl:attribute name="href"><xsl:value-of select="@query_uri"/>?interactor=<xsl:value-of select="../COORDINATES/@test_range"/></xsl:attribute><xsl:value-of select="@type"/></a>] </xsl:when> + <xsl:when test="($command='structure')"> + [<a><xsl:attribute name="href"><xsl:value-of select="@query_uri"/>?query=<xsl:value-of select="../COORDINATES/@test_range"/></xsl:attribute><xsl:value-of select="@type"/></a>] + </xsl:when> <xsl:otherwise> [<a><xsl:attribute name="href"><xsl:value-of select="@query_uri"/>?segment=<xsl:value-of select="../COORDINATES/@test_range"/></xsl:attribute><xsl:value-of select="@type"/></a>] </xsl:otherwise>
Andy's just patched sourceforge svn. Sorry it took so long - ticket email got buried.