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/html/voters.php | 40 ++++++++++++++++++++++++++++++++++++++++ web/template/pkg_details.php | 15 +++++++++++++-- 2 files changed, 53 insertions(+), 2 deletions(-) create mode 100644 web/html/voters.php (limited to 'web') diff --git a/web/html/voters.php b/web/html/voters.php new file mode 100644 index 0000000..a3b2469 --- /dev/null +++ b/web/html/voters.php @@ -0,0 +1,40 @@ + + + +

+

Votes for

+ + +
+ + + +".$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-70-g09d2