summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrandomdan <randomdan@localhost>2011-07-13 17:18:20 +0000
committerrandomdan <randomdan@localhost>2011-07-13 17:18:20 +0000
commitf232d889f2d502a68f76b7d7accb2325df49bc3e (patch)
treef3d2bfbc721cc64a9dbfc67c22f3b0baafcb52b9
parentFix some JS, better description (diff)
downloadgentoobrowse-f232d889f2d502a68f76b7d7accb2325df49bc3e.tar.bz2
gentoobrowse-f232d889f2d502a68f76b7d7accb2325df49bc3e.tar.xz
gentoobrowse-f232d889f2d502a68f76b7d7accb2325df49bc3e.zip
Add missing names to tasks
Fix missing description on last packge of homepage
-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>