";
$options = array(
'guid' => $vars['entity']->getGUID(),
'annotation_names' => array('generic_comment', 'task_state_changed'),
);
$html = elgg_list_annotations($options);
if ($html) {
echo '
' . elgg_echo('tasks:changehistory') . '
';
echo $html;
}
if ($show_add_form) {
$form_vars = array('name' => 'elgg_add_comment');
echo elgg_view_form('tasks/comments/add', $form_vars, $vars);
}
echo '';