aboutsummaryrefslogtreecommitdiff
path: root/views/default/annotation
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/annotation')
-rw-r--r--views/default/annotation/generic_comment.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/views/default/annotation/generic_comment.php b/views/default/annotation/generic_comment.php
index 4a3407e1a..69520d102 100644
--- a/views/default/annotation/generic_comment.php
+++ b/views/default/annotation/generic_comment.php
@@ -63,9 +63,11 @@ HTML;
$on = elgg_echo('on');
+ $excerpt = elgg_get_excerpt($comment->value, 80);
+
$body = <<<HTML
<span class="elgg-subtext">
- $commenter_link $on $entity_link ($friendlytime)
+ $commenter_link $on $entity_link ($friendlytime): $excerpt
</span>
HTML;