aboutsummaryrefslogtreecommitdiff
path: root/views/default/river
diff options
context:
space:
mode:
authorDave Tosh <dave@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-05-27 11:26:02 +0000
committerDave Tosh <dave@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-05-27 11:26:02 +0000
commita31a562988c02ad6d1114546f6bdcf8a054853f5 (patch)
tree5ad035a0c63eed1c7f4fb30749cd9039d6b2e1bf /views/default/river
parenta7fd31dd9ede22570734d35586c1cc0848dc0219 (diff)
downloadelgg-a31a562988c02ad6d1114546f6bdcf8a054853f5.tar.gz
elgg-a31a562988c02ad6d1114546f6bdcf8a054853f5.tar.bz2
small tweak when displaying the river on group profile
git-svn-id: http://code.elgg.org@6248 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/river')
-rw-r--r--views/default/river/object/videolist/create.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/views/default/river/object/videolist/create.php b/views/default/river/object/videolist/create.php
index ac849a67b..9cb170bc2 100644
--- a/views/default/river/object/videolist/create.php
+++ b/views/default/river/object/videolist/create.php
@@ -14,7 +14,8 @@ if(!$title) {
$string = sprintf(elgg_echo("videolist:river:created"),$url) . " ";
$string .= elgg_echo("videolist:river:item") . " titled <a href=\"" . $object->getURL() . "\">" . $title . "</a>";
-if($is_group){
+//if the video was added to a group, show that unless displayed on the group profile
+if($is_group && get_context() != 'groups'){
$string .= " " . elgg_echo('videolist:ingroup') . " " . $is_group->name;
}
$string .= "<span class='entity_subtext'>" . friendly_time($object->time_created) . "</span>";