aboutsummaryrefslogtreecommitdiff
path: root/mod/tasks/views/default/river
diff options
context:
space:
mode:
Diffstat (limited to 'mod/tasks/views/default/river')
-rw-r--r--mod/tasks/views/default/river/object/task/create.php13
1 files changed, 13 insertions, 0 deletions
diff --git a/mod/tasks/views/default/river/object/task/create.php b/mod/tasks/views/default/river/object/task/create.php
new file mode 100644
index 000000000..4c31def33
--- /dev/null
+++ b/mod/tasks/views/default/river/object/task/create.php
@@ -0,0 +1,13 @@
+<?php
+/**
+ * Page river view.
+ */
+
+$object = $vars['item']->getObjectEntity();
+$excerpt = strip_tags($object->description);
+$excerpt = elgg_get_excerpt($excerpt);
+
+echo elgg_view('river/elements/layout', array(
+ 'item' => $vars['item'],
+ 'message' => $excerpt,
+)); \ No newline at end of file