diff options
author | Cash Costello <cash.costello@gmail.com> | 2012-07-13 22:23:52 -0400 |
---|---|---|
committer | Cash Costello <cash.costello@gmail.com> | 2012-07-13 22:23:52 -0400 |
commit | 54bc5844dfe6cb684c7aecaf1be5ee8071d98fe0 (patch) | |
tree | 90f4166d6cd605eb4d7e95d63682732a1c5476a5 /views/default/river/object | |
parent | 695651451b262c526d6aaf9d0988ce557ff50e95 (diff) | |
parent | 894ea6758f3f99c49807df99ef4bbd95f74273dc (diff) | |
download | elgg-54bc5844dfe6cb684c7aecaf1be5ee8071d98fe0.tar.gz elgg-54bc5844dfe6cb684c7aecaf1be5ee8071d98fe0.tar.bz2 |
Merged notifications update from Brett's fork
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 )); |