From a7fd31dd9ede22570734d35586c1cc0848dc0219 Mon Sep 17 00:00:00 2001 From: Dave Tosh Date: Thu, 27 May 2010 11:17:39 +0000 Subject: videolist activity view tweaked git-svn-id: http://code.elgg.org@6247 36083f99-b078-4883-b0ff-0f9b5a30f544 --- views/default/river/object/videolist/create.php | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'views/default/river/object/videolist') diff --git a/views/default/river/object/videolist/create.php b/views/default/river/object/videolist/create.php index 9ede85096..ac849a67b 100644 --- a/views/default/river/object/videolist/create.php +++ b/views/default/river/object/videolist/create.php @@ -3,7 +3,7 @@ $performed_by = get_entity($vars['item']->subject_guid); // $statement->getSubject(); $object = get_entity($vars['item']->object_guid); $thumbnail = $object->thumbnail; -//$url = $object->getURL(); +$is_group = get_entity($object->container_guid); $url = "getURL()}\">{$performed_by->name}"; $title = $object->title; @@ -13,7 +13,11 @@ if(!$title) { } $string = sprintf(elgg_echo("videolist:river:created"),$url) . " "; -$string .= elgg_echo("videolist:river:item") . " titled getURL() . "\">" . $title . " " . friendly_time($object->time_created) . ""; +$string .= elgg_echo("videolist:river:item") . " titled getURL() . "\">" . $title . ""; +if($is_group){ + $string .= " " . elgg_echo('videolist:ingroup') . " " . $is_group->name; +} +$string .= "" . friendly_time($object->time_created) . ""; if (isloggedin()){ $string .= "Comment"; $string .= elgg_view('likes/forms/link', array('entity' => $object)); -- cgit v1.2.3