diff options
author | randomdan <randomdan@localhost> | 2011-11-28 15:24:58 +0000 |
---|---|---|
committer | randomdan <randomdan@localhost> | 2011-11-28 15:24:58 +0000 |
commit | 926302c9e7adaa0e2fe4c05b98e188ee816c8fba (patch) | |
tree | 7b3e48da111a3a559e1e863458d0dc3443486ade | |
parent | Minor fixes and much improved .htaccess rules (fixes issues with .s in requests) (diff) | |
download | gentoobrowse-926302c9e7adaa0e2fe4c05b98e188ee816c8fba.tar.bz2 gentoobrowse-926302c9e7adaa0e2fe4c05b98e188ee816c8fba.tar.xz gentoobrowse-926302c9e7adaa0e2fe4c05b98e188ee816c8fba.zip |
Groundwork for common presenter layer
-rw-r--r-- | gentoobrowse/emails/signup.xslt | 2 | ||||
-rw-r--r-- | gentoobrowse/xslt/atomebuilds.xslt | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/gentoobrowse/emails/signup.xslt b/gentoobrowse/emails/signup.xslt index 7ad5697..c932478 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:servername" />/confirm?verifyguid=<xsl:value-of select="/signup/verifyguids/verifyguid/guid" /> + 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" /> </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 7e75329..c665670 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:servername" />/package/<xsl:value-of select="catname" />/<xsl:value-of select="pkgname" /></link> - <guid isPermaLink="false">http://<xsl:value-of select="/gentoo/project2:servername" />/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/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> <pubDate><xsl:value-of select="translate(moddate,' ','T')" />Z</pubDate> <category>ebuild</category> </item> |