From e7d95bb26ca0e1a81469b06f19de51856ac66221 Mon Sep 17 00:00:00 2001 From: randomdan Date: Thu, 10 Apr 2014 13:38:31 +0000 Subject: New email template --- gentoobrowse/emails/base.xslt | 69 +++++++++++++++++++++++++++++ gentoobrowse/emails/newpackageversions.xml | 7 ++- gentoobrowse/emails/newpackageversions.xslt | 54 ++++++++++++---------- 3 files changed, 104 insertions(+), 26 deletions(-) create mode 100644 gentoobrowse/emails/base.xslt diff --git a/gentoobrowse/emails/base.xslt b/gentoobrowse/emails/base.xslt new file mode 100644 index 0000000..a8ceaac --- /dev/null +++ b/gentoobrowse/emails/base.xslt @@ -0,0 +1,69 @@ + + + + + + <!DOCTYPE html> + + + + + + + + + + + + + +
+
+ +
+
+
+
+ +
+
+ + +
+
+

Gentoo Browse is not an official Gentoo website. The name "Gentoo" and the "g" logo are trademarks of the Gentoo Foundation, Inc.

+
+
+ + + + + + +
+ + + + + + +
diff --git a/gentoobrowse/emails/newpackageversions.xml b/gentoobrowse/emails/newpackageversions.xml index 679641c..a44ad10 100644 --- a/gentoobrowse/emails/newpackageversions.xml +++ b/gentoobrowse/emails/newpackageversions.xml @@ -3,9 +3,9 @@ xmlns:project2="http://project2.randomdan.homeip.net"> - select ut.cname, ut.pname, ut.version + select ut.cname, ut.pname, ut.version, ut.description from ( - select e.ebuildid, up.userid, u.useremail, p.name as pname, c.name as cname, e.version + select e.ebuildid, up.userid, u.useremail, p.name as pname, c.name as cname, e.version, p.description from ebuilds e, user_packages up, users u, packages p, categories c where e.packageid = up.packageid and u.userid = up.userid @@ -22,6 +22,9 @@ + + / + diff --git a/gentoobrowse/emails/newpackageversions.xslt b/gentoobrowse/emails/newpackageversions.xslt index e5e23be..3eb6c32 100644 --- a/gentoobrowse/emails/newpackageversions.xslt +++ b/gentoobrowse/emails/newpackageversions.xslt @@ -1,28 +1,34 @@ - - - - - - - Welcome to Gentoo Browse - - -

All new shiny ebuilds available!

-
- - + +

+ +

+
    + +
  • /-
  • +
    +
+ + + - -- cgit v1.2.3