summaryrefslogtreecommitdiff
path: root/web/template/stats
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2011-03-30 20:48:11 -0500
committerLukas Fleischer <archlinux@cryptocrack.de>2011-04-03 22:59:33 +0200
commit2005a2889cebc817ad4bae6134aac109165fe595 (patch)
treec6f9c899a2f3fcd287da887508f78920a2d787a4 /web/template/stats
parent79ce38d271bee57a792aeb8f52e9e96b6899a756 (diff)
Add more stats to the front page table
Signed-off-by: Dan McGee <dan@archlinux.org> Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
Diffstat (limited to 'web/template/stats')
-rw-r--r--web/template/stats/general_stats_table.php20
1 files changed, 18 insertions, 2 deletions
diff --git a/web/template/stats/general_stats_table.php b/web/template/stats/general_stats_table.php
index c136111..a100dfe 100644
--- a/web/template/stats/general_stats_table.php
+++ b/web/template/stats/general_stats_table.php
@@ -3,14 +3,30 @@
<th colspan='2' class='boxSoftTitle'><span class='f3'><?php print __("Statistics") ?></span></th>
</tr>
<tr>
- <td class='boxSoft'><span class='f4'><?php print __("Packages in unsupported"); ?></span></td>
+ <td class='boxSoft'><span class='f4'><?php print __("Packages"); ?></span></td>
<td class='boxSoft'><span class='f4'><?php print $unsupported_count; ?></span></td>
</tr>
<tr>
- <td class='boxSoft'><span class='f4'><?php print __("Packages added or updated in the past 7 days"); ?></span></td>
+ <td class='boxSoft'><span class='f4'><?php print __("Orphan Packages"); ?></span></td>
+ <td class='boxSoft'><span class='f4'><?php print $orphan_count; ?></span></td>
+ </tr>
+ <tr>
+ <td class='boxSoft'><span class='f4'><?php print __("Packages added in the past 7 days"); ?></span></td>
+ <td class='boxSoft'><span class='f4'><?php print $add_count; ?></span></td>
+ </tr>
+ <tr>
+ <td class='boxSoft'><span class='f4'><?php print __("Packages updated in the past 7 days"); ?></span></td>
<td class='boxSoft'><span class='f4'><?php print $update_count; ?></span></td>
</tr>
<tr>
+ <td class='boxSoft'><span class='f4'><?php print __("Packages updated in the past year"); ?></span></td>
+ <td class='boxSoft'><span class='f4'><?php print $update_year_count; ?></span></td>
+ </tr>
+ <tr>
+ <td class='boxSoft'><span class='f4'><?php print __("Packages never updated"); ?></span></td>
+ <td class='boxSoft'><span class='f4'><?php print $never_update_count; ?></span></td>
+ </tr>
+ <tr>
<td class='boxSoft'><span class='f4'><?php print __("Registered Users"); ?></span></td>
<td class='boxSoft'><span class='f4'><?php print $user_count; ?></span></td>
</tr>