aboutsummaryrefslogtreecommitdiff
path: root/views/default/river/annotation/generic_comment
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/river/annotation/generic_comment')
-rw-r--r--views/default/river/annotation/generic_comment/create.php11
1 files changed, 11 insertions, 0 deletions
diff --git a/views/default/river/annotation/generic_comment/create.php b/views/default/river/annotation/generic_comment/create.php
new file mode 100644
index 000000000..7d586450d
--- /dev/null
+++ b/views/default/river/annotation/generic_comment/create.php
@@ -0,0 +1,11 @@
+<?php
+/**
+ * Post comment river view
+ */
+$object = $vars['item']->getObjectEntity();
+$comment = $vars['item']->getAnnotation();
+
+echo elgg_view('river/elements/layout', array(
+ 'item' => $vars['item'],
+ 'message' => elgg_get_excerpt($comment->value),
+));