From 1eff9fa5eac4f0e38554be911d42bf233a8f814e Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Sat, 8 Aug 2015 23:50:30 +0100 Subject: Additions to show repo name --- gentoobrowse/css/general.css | 10 ++++++++++ gentoobrowse/views/package.xml | 16 +++++++++------- gentoobrowse/xslt/home.xslt | 4 ++-- gentoobrowse/xslt/package.xslt | 28 ++++++++++++++++------------ 4 files changed, 37 insertions(+), 21 deletions(-) diff --git a/gentoobrowse/css/general.css b/gentoobrowse/css/general.css index ac64f9b..35a46c7 100644 --- a/gentoobrowse/css/general.css +++ b/gentoobrowse/css/general.css @@ -1070,3 +1070,13 @@ form.bs-docs-example { form#search input[type=search] { width: 516px; } + +.ebuild-minor { + font-size: 11px; + font-weight: lighter; +} + +.repo { + font-size: 9px; + font-weight: lighter; +} diff --git a/gentoobrowse/views/package.xml b/gentoobrowse/views/package.xml index d063177..f4f6048 100644 --- a/gentoobrowse/views/package.xml +++ b/gentoobrowse/views/package.xml @@ -33,10 +33,11 @@ - SELECT e.ebuildid, e.version, e.moddate, e.slot, e.license - FROM ebuilds e + SELECT e.ebuildid, e.version, e.moddate, e.slot, e.license, r.name AS reponame + FROM ebuilds e, repos r + WHERE e.repoid = r.repoid - WHERE e.packageid = + AND e.packageid = ORDER BY versioninst desc @@ -157,12 +158,13 @@ - SELECT date, person, email, comment - FROM package_changelogs + SELECT date, person, email, comment, r.name AS reponame + FROM package_changelogs c, repos r + WHERE c.repoid = r.repoid - WHERE packageid = + AND packageid = - ORDER BY date DESC, n DESC + ORDER BY date DESC, n DESC, c.repoid diff --git a/gentoobrowse/xslt/home.xslt b/gentoobrowse/xslt/home.xslt index 0e138db..4d85870 100644 --- a/gentoobrowse/xslt/home.xslt +++ b/gentoobrowse/xslt/home.xslt @@ -8,7 +8,7 @@ - +

Newest ebuilds

@@ -20,7 +20,7 @@ - +