diff options
Diffstat (limited to 'mod/notifications')
-rw-r--r-- | mod/notifications/languages/en.php | 1 | ||||
-rw-r--r-- | mod/notifications/views/default/notifications/subscriptions/collections.php | 4 |
2 files changed, 4 insertions, 1 deletions
diff --git a/mod/notifications/languages/en.php b/mod/notifications/languages/en.php index 1f43c31de..5121d46f7 100644 --- a/mod/notifications/languages/en.php +++ b/mod/notifications/languages/en.php @@ -7,6 +7,7 @@ 'notifications:subscriptions:collections:title' => 'Friends collections',
'notifications:subscriptions:collections:description' => 'To toggle settings for members of your friends collections, click the icons below.',
+ 'notifications:subscriptions:collections:edit' => 'To edit your friends collections, click here.',
'notifications:subscriptions:changesettings' => 'Notifications',
'notification:method:email' => 'Email',
diff --git a/mod/notifications/views/default/notifications/subscriptions/collections.php b/mod/notifications/views/default/notifications/subscriptions/collections.php index 1446b4e31..8582069a8 100644 --- a/mod/notifications/views/default/notifications/subscriptions/collections.php +++ b/mod/notifications/views/default/notifications/subscriptions/collections.php @@ -25,6 +25,7 @@ <div class="notification_personal">
<p>
<?php echo elgg_echo('notifications:subscriptions:collections:description'); ?>
+ <a href="<?php echo $vars['url']; ?>pg/collections/<?php echo $vars['user']->username; ?>"><?php echo elgg_echo('notifications:subscriptions:collections:edit') ?></a>
</p>
<table id="notificationstable" cellspacing="0" cellpadding="4" border="1" width="100%">
<tr>
@@ -46,13 +47,14 @@ foreach($collections as $collection) {
$members = get_members_of_access_collection($collection->id, true);
+ $memberno = sizeof($members);
$members = implode(',',$members);
?>
<tr>
<td class="namefield">
<p>
- <?php echo $collection->name; ?>
+ <?php echo $collection->name; ?> (<?php echo $memberno; ?>)
</p>
</td>
|