diff --git a/modules/monitoring/application/views/scripts/show/components/comments.phtml b/modules/monitoring/application/views/scripts/show/components/comments.phtml index 2be2f49f8..c142d7e5d 100644 --- a/modules/monitoring/application/views/scripts/show/components/comments.phtml +++ b/modules/monitoring/application/views/scripts/show/components/comments.phtml @@ -1,6 +1,5 @@ getHelper('CommandForm'); $data = array('host' => $object->host_name); @@ -8,59 +7,43 @@ if ($object->service_description) { $data['service'] = $object->service_description; } -?> -
No comments | -
-
- comment_internal_id;
+$list = array();
+foreach ($object->comments as $comment) {
- echo $cf->iconSubmitForm(
- 'img/icons/remove.png',
- 'Remove comment',
- 'btn-small',
- 'removecomment',
- $deleteData
- );
- ?>
-
- = $this->escape($comment->comment_author); ?>, = $comment->comment_type; ?>
- (= $this->format()->timeSince($comment->comment_timestamp); ?>)
-
- = $this->escape($comment->comment_data); ?>
-
- |
-