aboutsummaryrefslogtreecommitdiff
path: root/views/default
diff options
context:
space:
mode:
Diffstat (limited to 'views/default')
-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
));