/** * Show object comments block in short form * Status updates are just comments displayed in a short form * * @param ProjectDataObject $object Show comments of this object * @return null */ function render_object_status_updates(ProjectDataObject $object) { if (!$object->isCommentable()) { return ''; } tpl_assign('__comments_object', $object); return tpl_fetch(get_template_path('object_statuses', 'comment')); }