diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2019-05-08 18:38:25 +0100 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2019-06-09 21:20:25 +0100 |
commit | 41b0f42d2c72356e2c02b4740c838afa80dbedc5 (patch) | |
tree | 0d21dc4638f9cefb20b3e2b20103066a3ece5f31 | |
parent | Render dots between links with CSS (diff) | |
download | gentoobrowse-api-41b0f42d2c72356e2c02b4740c838afa80dbedc5.tar.bz2 gentoobrowse-api-41b0f42d2c72356e2c02b4740c838afa80dbedc5.tar.xz gentoobrowse-api-41b0f42d2c72356e2c02b4740c838afa80dbedc5.zip |
Minor XSL tweak to tidy output
-rw-r--r-- | gentoobrowse-api/service/notifications/xslt/news.xslt | 7 | ||||
-rw-r--r-- | gentoobrowse-api/service/notifications/xslt/signup.xslt | 4 |
2 files changed, 6 insertions, 5 deletions
diff --git a/gentoobrowse-api/service/notifications/xslt/news.xslt b/gentoobrowse-api/service/notifications/xslt/news.xslt index a5d1c04..62104e0 100644 --- a/gentoobrowse-api/service/notifications/xslt/news.xslt +++ b/gentoobrowse-api/service/notifications/xslt/news.xslt @@ -36,17 +36,18 @@ <xsl:attribute name="href">https://gentoobrowse.randomdan.homeip.net/packages/<xsl:value-of select="$category/name" /></xsl:attribute> <xsl:value-of select="$category/name" /> </a> - / + <xsl:text> / </xsl:text> <a> <xsl:attribute name="href">https://gentoobrowse.randomdan.homeip.net/packages/<xsl:value-of select="$category/name" />/<xsl:value-of select="name" /></xsl:attribute> <xsl:value-of select="name" /> </a> - : + <xsl:text> : </xsl:text> <xsl:value-of select="description" /> </p> <xsl:for-each select="../../ebuilds/ebuild[packageid = current()/packageid]"> <p> - v<xsl:value-of select="version" /> + <xsl:text>v</xsl:text> + <xsl:value-of select="version" /> </p> </xsl:for-each> </xsl:for-each> diff --git a/gentoobrowse-api/service/notifications/xslt/signup.xslt b/gentoobrowse-api/service/notifications/xslt/signup.xslt index f1e3278..01f336d 100644 --- a/gentoobrowse-api/service/notifications/xslt/signup.xslt +++ b/gentoobrowse-api/service/notifications/xslt/signup.xslt @@ -8,7 +8,7 @@ <section> <h2 class="page-header">Confirmation</h2> <p> - Click <a> + <xsl:text>Click </xsl:text><a> <xsl:attribute name="href"> <xsl:text>https://gentoobrowse.randomdan.homeip.net/user/verification/</xsl:text> <xsl:value-of select="verifyguid" /> @@ -16,7 +16,7 @@ <xsl:value-of select="username" /> </xsl:attribute> <xsl:text>here</xsl:text> - </a> to confirm your account. + </a><xsl:text> to confirm your account.</xsl:text> </p> <p>Or alternatively, copy and paste this code into the confirmation page: <xsl:value-of select="verifyguid" /></p> </section> |