summaryrefslogtreecommitdiffstats
path: root/web/template
diff options
context:
space:
mode:
authorLukas Fleischer <archlinux@cryptocrack.de>2012-10-23 19:08:29 +0200
committerLukas Fleischer <archlinux@cryptocrack.de>2012-10-28 02:17:54 +0200
commit6897bb00979238b80d6aa3ad3741d1856ea81c6a (patch)
tree3d1837337b3b777c56f752306672fd47531a4a5b /web/template
parentacdf9a85a0ff320f55d6eebb2ba7550fea61a5bb (diff)
downloadaur-6897bb00979238b80d6aa3ad3741d1856ea81c6a.tar.gz
aur-6897bb00979238b80d6aa3ad3741d1856ea81c6a.tar.xz
Implement word-wrap for package statistics
Word-wrap labels in the package statistics box, just as we wrap package names in the "Recent Updates" box. Addresses FS#32160. Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
Diffstat (limited to 'web/template')
-rw-r--r--web/template/stats/general_stats_table.php16
1 files changed, 8 insertions, 8 deletions
diff --git a/web/template/stats/general_stats_table.php b/web/template/stats/general_stats_table.php
index 6a92c3b8..5b598321 100644
--- a/web/template/stats/general_stats_table.php
+++ b/web/template/stats/general_stats_table.php
@@ -2,35 +2,35 @@
<table>
<tr>
- <td><?= __("Packages"); ?></td>
+ <td class="stat-desc"><?= __("Packages"); ?></td>
<td><?= $unsupported_count; ?></td>
</tr>
<tr>
- <td><?= __("Orphan Packages"); ?></td>
+ <td class="stat-desc"><?= __("Orphan Packages"); ?></td>
<td><?= $orphan_count; ?></td>
</tr>
<tr>
- <td><?= __("Packages added in the past 7 days"); ?></td>
+ <td class="stat-desc"><?= __("Packages added in the past 7 days"); ?></td>
<td><?= $add_count; ?></td>
</tr>
<tr>
- <td><?= __("Packages updated in the past 7 days"); ?></td>
+ <td class="stat-desc"><?= __("Packages updated in the past 7 days"); ?></td>
<td><?= $update_count; ?></td>
</tr>
<tr>
- <td><?= __("Packages updated in the past year"); ?></td>
+ <td class="stat-desc"><?= __("Packages updated in the past year"); ?></td>
<td><?= $update_year_count; ?></td>
</tr>
<tr>
- <td><?= __("Packages never updated"); ?></td>
+ <td class="stat-desc"><?= __("Packages never updated"); ?></td>
<td><?= $never_update_count; ?></td>
</tr>
<tr>
- <td><?= __("Registered Users"); ?></td>
+ <td class="stat-desc"><?= __("Registered Users"); ?></td>
<td><?= $user_count; ?></td>
</tr>
<tr>
- <td><?= __("Trusted Users"); ?></td>
+ <td class="stat-desc"><?= __("Trusted Users"); ?></td>
<td><?= $tu_count; ?></td>
</tr>
</table>