summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrandomdan <randomdan@localhost>2012-02-19 14:01:32 +0000
committerrandomdan <randomdan@localhost>2012-02-19 14:01:32 +0000
commit13d809dac6ff11f9ea15b94b17efdc0557a51489 (patch)
tree3ef62ddc1b17adc2fcd93430bbf7687bbec2e74f
parentFiner control over output to presenters, addresses issues with JSON output an... (diff)
downloadgentoobrowse-13d809dac6ff11f9ea15b94b17efdc0557a51489.tar.bz2
gentoobrowse-13d809dac6ff11f9ea15b94b17efdc0557a51489.tar.xz
gentoobrowse-13d809dac6ff11f9ea15b94b17efdc0557a51489.zip
Fix xsl paths for new output
-rw-r--r--gentoobrowse/emails/signup.xslt2
-rw-r--r--gentoobrowse/xslt/atomebuilds.xslt4
2 files changed, 3 insertions, 3 deletions
diff --git a/gentoobrowse/emails/signup.xslt b/gentoobrowse/emails/signup.xslt
index c932478..509a155 100644
--- a/gentoobrowse/emails/signup.xslt
+++ b/gentoobrowse/emails/signup.xslt
@@ -12,7 +12,7 @@
<body>
<p>Welcome to Gentoo Browse!</p>
<p>
- Click <a><xsl:attribute name="href">http://<xsl:value-of select="/signup/project2:environment/var[@name='servername']/@value" />/confirm?verifyguid=<xsl:value-of select="/signup/verifyguids/verifyguid/guid" />
+ Click <a><xsl:attribute name="href">http://<xsl:value-of select="/signup/project2:environment/servername" />/confirm?verifyguid=<xsl:value-of select="/signup/verifyguids/verifyguid/guid" />
</xsl:attribute>this link</a> to confirm your account.
</p>
<p>Or alternatively, copy and paste this code into the confirmation page: <xsl:value-of select="/signup/verifyguids/verifyguid/guid" /></p>
diff --git a/gentoobrowse/xslt/atomebuilds.xslt b/gentoobrowse/xslt/atomebuilds.xslt
index c665670..b4c3595 100644
--- a/gentoobrowse/xslt/atomebuilds.xslt
+++ b/gentoobrowse/xslt/atomebuilds.xslt
@@ -23,8 +23,8 @@
<item>
<title><xsl:value-of select="catname" />/<xsl:value-of select="pkgname" />-<xsl:value-of select="version" /></title>
<description><xsl:value-of select="description" /></description>
- <link>http://<xsl:value-of select="/gentoo/project2:environment/var[@name='servername']/@value" />/package/<xsl:value-of select="catname" />/<xsl:value-of select="pkgname" /></link>
- <guid isPermaLink="false">http://<xsl:value-of select="/gentoo/project2:environment/var[@name='servername']/@value" />/package/<xsl:value-of select="catname" />/<xsl:value-of select="pkgname" />-<xsl:value-of select="version" /></guid>
+ <link>http://<xsl:value-of select="/gentoo/project2:environment/servername" />/package/<xsl:value-of select="catname" />/<xsl:value-of select="pkgname" /></link>
+ <guid isPermaLink="false">http://<xsl:value-of select="/gentoo/project2:environment/servername" />/package/<xsl:value-of select="catname" />/<xsl:value-of select="pkgname" />-<xsl:value-of select="version" /></guid>
<pubDate><xsl:value-of select="translate(moddate,' ','T')" />Z</pubDate>
<category>ebuild</category>
</item>