From 57972532a75f7dd770f96b54edb4f0a4213e2764 Mon Sep 17 00:00:00 2001 From: Loui Chang Date: Sun, 19 Jul 2009 23:20:36 -0400 Subject: Add voter list on packages for TUs and devs. Signed-off-by: Loui Chang --- web/template/pkg_details.php | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) (limited to 'web/template/pkg_details.php') diff --git a/web/template/pkg_details.php b/web/template/pkg_details.php index f60fe353..28d5b204 100644 --- a/web/template/pkg_details.php +++ b/web/template/pkg_details.php @@ -1,9 +1,11 @@ ".$row["Category"].""; + $edit_cat .= $pkgid ."'>".$row["Category"].""; $edit_cat .= "  ("; $edit_cat .= __("change category").")"; } @@ -21,6 +23,11 @@ if ($row["MaintainerUID"]) { $maintainer = "None"; } +$votes = __('Votes') . ': ' . $row['NumVotes']; +if ($atype == "Developer" or $atype == "Trusted User") { + $votes = "$votes"; +} + # In case of wanting to put a custom message $msg = __('unknown'); $license = empty($row['License']) ? $msg : $row['License']; @@ -43,7 +50,11 @@ $submitted_time = ($row["SubmittedTS"] == 0) ? "(unknown)" : gmdate("r", intval(



- + + + +

-- cgit v1.2.3-24-g4f1b