aboutsummaryrefslogtreecommitdiff
path: root/views/default/river/object
diff options
context:
space:
mode:
authorBrett Profitt <brett.profitt@gmail.com>2012-02-13 15:39:45 -0800
committerBrett Profitt <brett.profitt@gmail.com>2012-02-13 15:40:52 -0800
commit894ea6758f3f99c49807df99ef4bbd95f74273dc (patch)
tree90f4166d6cd605eb4d7e95d63682732a1c5476a5 /views/default/river/object
parent67d855d73499f36f15331e1ff18cccd13aa8aa74 (diff)
downloadelgg-894ea6758f3f99c49807df99ef4bbd95f74273dc.tar.gz
elgg-894ea6758f3f99c49807df99ef4bbd95f74273dc.tar.bz2
Fixes #11. Added notifications back.
Diffstat (limited to 'views/default/river/object')
-rw-r--r--views/default/river/object/tidypics_batch/create.php8
1 files changed, 7 insertions, 1 deletions
diff --git a/views/default/river/object/tidypics_batch/create.php b/views/default/river/object/tidypics_batch/create.php
index 44c40c110..418cf1ac3 100644
--- a/views/default/river/object/tidypics_batch/create.php
+++ b/views/default/river/object/tidypics_batch/create.php
@@ -43,8 +43,14 @@ if (count($images)) {
$attachments .= '</ul>';
}
+if (count($images) == 1) {
+ $summary = elgg_echo('image:river:created', array($subject_link, $album_link));
+} else {
+ $summary = elgg_echo('image:river:created:multiple', array($subject_link, count($images), $album_link));
+}
+
echo elgg_view('river/elements/layout', array(
'item' => $vars['item'],
'attachments' => $attachments,
- 'summary' => elgg_echo('image:river:created:multiple', array($subject_link, count($images), $album_link)),
+ 'summary' => $summary
));