aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--languages/en.php1
-rw-r--r--views/default/river/object/videolist_item/create.php15
2 files changed, 16 insertions, 0 deletions
diff --git a/languages/en.php b/languages/en.php
index db181aa37..ce8a24a3d 100644
--- a/languages/en.php
+++ b/languages/en.php
@@ -46,6 +46,7 @@ $english = array(
"videolist:searchTubeVideos" => "Search youtube.com",
"videolist:comments" => "Comments",
"videolist:commentspost" => "Post",
+ "river:create:object:videolist_item" => "%s added the video %s",
"river:comment:object:videolist_item" => "%s commented on %s",
"videolist:river:item" => "a video",
"videolist:river:created" => "%s added",
diff --git a/views/default/river/object/videolist_item/create.php b/views/default/river/object/videolist_item/create.php
new file mode 100644
index 000000000..ea9f8394b
--- /dev/null
+++ b/views/default/river/object/videolist_item/create.php
@@ -0,0 +1,15 @@
+<?php
+/**
+ * Videolist item river view.
+ */
+
+$object = $vars['item']->getObjectEntity();
+$thumbnail = elgg_view('icon/object/videolist_item', array(
+ 'entity' => $object,
+ 'size' => 'medium',
+));
+
+echo elgg_view('river/item', array(
+ 'item' => $vars['item'],
+ 'message' => $thumbnail,
+));