From 1664a24198a3f3ef3fb3529ce8761fd030325e43 Mon Sep 17 00:00:00 2001 From: Marcel Korpel Date: Sun, 31 Jan 2016 20:07:45 +0100 Subject: Remove 'new' tag from updates table It was hard to make it consistent with the other new icons from Open Iconic and it hadn't much use after all. Signed-off-by: Marcel Korpel Signed-off-by: Lukas Fleischer --- web/html/css/aurweb.css | 8 -------- web/html/images/new.svg | 3 --- web/lib/stats.inc.php | 2 +- web/template/stats/updates_table.php | 5 ----- 4 files changed, 1 insertion(+), 17 deletions(-) delete mode 100644 web/html/images/new.svg diff --git a/web/html/css/aurweb.css b/web/html/css/aurweb.css index 63fe01c..f5e1037 100644 --- a/web/html/css/aurweb.css +++ b/web/html/css/aurweb.css @@ -16,10 +16,6 @@ margin: 0 .25em; } -#pkg-updates td.pkg-new { - padding: 0 .5em; -} - #pkg-stats td.stat-desc { white-space: normal; } @@ -45,10 +41,6 @@ text-overflow: ellipsis; } -#pkg-updates td.pkg-new { - width: 16px; -} - #pkg-updates td.pkg-date { text-align:right; } diff --git a/web/html/images/new.svg b/web/html/images/new.svg deleted file mode 100644 index 87f1a4c..0000000 --- a/web/html/images/new.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/web/lib/stats.inc.php b/web/lib/stats.inc.php index 5a24591..80619fe 100644 --- a/web/lib/stats.inc.php +++ b/web/lib/stats.inc.php @@ -11,7 +11,7 @@ function updates_table() { $dbh = DB::connect(); $key = 'recent_updates'; if(!($newest_packages = get_cache_value($key))) { - $q = 'SELECT Packages.Name, Version, ModifiedTS, SubmittedTS '; + $q = 'SELECT Packages.Name, Version, ModifiedTS '; $q.= 'FROM Packages INNER JOIN PackageBases ON '; $q.= 'Packages.PackageBaseID = PackageBases.ID '; $q.= 'WHERE PackageBases.PackagerUID IS NOT NULL '; diff --git a/web/template/stats/updates_table.php b/web/template/stats/updates_table.php index e2f79b2..4e2d39d 100644 --- a/web/template/stats/updates_table.php +++ b/web/template/stats/updates_table.php @@ -9,11 +9,6 @@ " title=""> - - - New! - - -- cgit v1.2.3-70-g09d2