From a93363ac08ade0b17b342c5238efb37fc5d15741 Mon Sep 17 00:00:00 2001 From: Lukas Fleischer Date: Tue, 6 May 2014 20:52:32 +0200 Subject: Add a packager field to packages Store the last packager in addition to storing the submitter and the maintainer of a package. This allows for checking who last updated a package, even if the package has been disowned. Signed-off-by: Lukas Fleischer --- web/template/pkg_details.php | 19 +++++++++++++++++++ web/template/pkgbase_details.php | 19 +++++++++++++++++++ 2 files changed, 38 insertions(+) (limited to 'web/template') diff --git a/web/template/pkg_details.php b/web/template/pkg_details.php index 791c9ee..12aa692 100644 --- a/web/template/pkg_details.php +++ b/web/template/pkg_details.php @@ -9,6 +9,7 @@ $catarr = pkgbase_categories(); $submitter = username_from_id($row["SubmitterUID"]); $maintainer = username_from_id($row["MaintainerUID"]); +$packager = username_from_id($row["PackagerUID"]); $votes = $row['NumVotes']; @@ -286,6 +287,24 @@ if ($row["MaintainerUID"]): + + + + + + + + + + + + + + diff --git a/web/template/pkgbase_details.php b/web/template/pkgbase_details.php index fd7bdad..eab3a53 100644 --- a/web/template/pkgbase_details.php +++ b/web/template/pkgbase_details.php @@ -8,6 +8,7 @@ $catarr = pkgbase_categories(); $submitter = username_from_id($row["SubmitterUID"]); $maintainer = username_from_id($row["MaintainerUID"]); +$packager = username_from_id($row["PackagerUID"]); $votes = $row['NumVotes']; @@ -169,6 +170,24 @@ if ($row["MaintainerUID"]): + + + + + + + + + + + + + + -- cgit v1.2.3-54-g00ecf