diff options
author | Philip Häusler <msquare@notrademark.de> | 2015-07-27 17:20:05 +0200 |
---|---|---|
committer | Philip Häusler <msquare@notrademark.de> | 2015-07-27 17:20:05 +0200 |
commit | 1a0ccddbe9c2e04bdad10e08513ed0d709aa7bb6 (patch) | |
tree | 80fd397eec3a439fc343682be49346f051020a48 /includes/controller | |
parent | 6376b90e9f7527f85542b4835fc56c4c9afb5604 (diff) |
show number of user angel types to confirm in hint
Diffstat (limited to 'includes/controller')
-rw-r--r-- | includes/controller/user_angeltypes_controller.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/controller/user_angeltypes_controller.php b/includes/controller/user_angeltypes_controller.php index 66abc589..f76f10ae 100644 --- a/includes/controller/user_angeltypes_controller.php +++ b/includes/controller/user_angeltypes_controller.php @@ -14,7 +14,7 @@ function user_angeltypes_unconfirmed_hint() { $unconfirmed_links = []; foreach ($unconfirmed_user_angeltypes as $user_angeltype) - $unconfirmed_links[] = '<a href="' . page_link_to('angeltypes') . '&action=view&angeltype_id=' . $user_angeltype['angeltype_id'] . '">' . $user_angeltype['name'] . '</a>'; + $unconfirmed_links[] = '<a href="' . page_link_to('angeltypes') . '&action=view&angeltype_id=' . $user_angeltype['angeltype_id'] . '">' . $user_angeltype['name'] . ' (+' . $user_angeltype['count'] . ')' . '</a>'; return info(sprintf(ngettext("There is %d unconfirmed angeltype.", "There are %d unconfirmed angeltypes.", count($unconfirmed_user_angeltypes)), count($unconfirmed_user_angeltypes)) . " " . _('Angel types which need approvals:') . ' ' . join(', ', $unconfirmed_links), true); } |