summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gentoobrowse/request/dosignup.xml4
-rw-r--r--gentoobrowse/xslt/home.xslt2
2 files changed, 3 insertions, 3 deletions
diff --git a/gentoobrowse/request/dosignup.xml b/gentoobrowse/request/dosignup.xml
index d06ca57..f9b8819 100644
--- a/gentoobrowse/request/dosignup.xml
+++ b/gentoobrowse/request/dosignup.xml
@@ -31,7 +31,7 @@
<param name="0"><value source="param" name="email" /></param>
</parameters>
</project2:sqlcheck>
- <project2:sqltask datasource="postgres-web">
+ <project2:sqltask datasource="postgres-web" name="insertUser">
<sql>INSERT INTO users(username, userrealname, userpassword, useremail, verifyguid)
VALUES(?, ?, ?, ?, uuid_generate_v4())</sql>
<parameters>
@@ -41,7 +41,7 @@
<param name="3"><value source="param" name="email" /></param>
</parameters>
</project2:sqltask>
- <project2:sendmail server="smtp.random.lan:25" subject="Welcome to Gentoo Browse"
+ <project2:sendmail server="smtp.random.lan:25" subject="Welcome to Gentoo Browse" name="sendWelcome"
present="welcome" from="&quot;Gentoo Browse&quot; &lt;noreply@gentoobrowse.randomdan.homeip.net&gt;">
<to source="param" name="email" />
</project2:sendmail>
diff --git a/gentoobrowse/xslt/home.xslt b/gentoobrowse/xslt/home.xslt
index 43bd37b..f82c6c4 100644
--- a/gentoobrowse/xslt/home.xslt
+++ b/gentoobrowse/xslt/home.xslt
@@ -45,7 +45,7 @@
<xsl:value-of select="catname" />/<xsl:value-of select="pkgname" />
</a>
v<xsl:value-of select="version" />
- <xsl:if test="following-sibling::ebuild[1]/packageid != packageid">
+ <xsl:if test="position() = last() or following-sibling::ebuild[1]/packageid != packageid">
<br/>
<xsl:value-of select="description" />
</xsl:if>