diff options
-rw-r--r-- | views/default/annotation/generic_comment.php | 4 | ||||
-rw-r--r-- | views/default/page/elements/comments_block.php | 1 |
2 files changed, 4 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; diff --git a/views/default/page/elements/comments_block.php b/views/default/page/elements/comments_block.php index 751aa4312..d0f8ab809 100644 --- a/views/default/page/elements/comments_block.php +++ b/views/default/page/elements/comments_block.php @@ -36,6 +36,7 @@ if ($comments) { 'items' => $comments, 'pagination' => false, 'list_class' => 'elgg-latest-comments', + 'full_view' => false, )); } else { $body = '<p>' . elgg_echo('generic_comment:none') . '</p>'; |