diff options
Diffstat (limited to 'views/default/river/object')
-rw-r--r-- | views/default/river/object/tidypics_batch/create.php | 8 |
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 )); |