From a31a562988c02ad6d1114546f6bdcf8a054853f5 Mon Sep 17 00:00:00 2001 From: Dave Tosh Date: Thu, 27 May 2010 11:26:02 +0000 Subject: small tweak when displaying the river on group profile git-svn-id: http://code.elgg.org@6248 36083f99-b078-4883-b0ff-0f9b5a30f544 --- views/default/river/object/videolist/create.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'views/default') 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 getURL() . "\">" . $title . ""; -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 .= "" . friendly_time($object->time_created) . ""; -- cgit v1.2.3