diff --git a/modules/monitoring/application/views/scripts/list/notifications.phtml b/modules/monitoring/application/views/scripts/list/notifications.phtml index c1e428fda..4e4b26d06 100644 --- a/modules/monitoring/application/views/scripts/list/notifications.phtml +++ b/modules/monitoring/application/views/scripts/list/notifications.phtml @@ -25,7 +25,7 @@ $notifications = $this->notifications->paginate(); echo $this->paginationControl($notifications, null, null, array('preserve' => $this->preserve)); ?> - +
@@ -84,7 +84,7 @@ echo $this->paginationControl($notifications, null, null, array('preserve' => $t echo 'STALKING'; break; default: - echo 'UNKNOWN'; + echo 'N/A'; } ?> @@ -100,6 +100,33 @@ echo $this->paginationControl($notifications, null, null, array('preserve' => $t +
Host escape(substr(strip_tags($notification->notification_information), 0, 10000)); ?> notification_type) === 0) { + echo $this->qlink( + '', + 'monitoring/show/host', + array( + 'host' => $notification->host_name + ), + array( + 'class' => 'row-action' + ) + ); + } else { + echo $this->qlink( + '', + 'monitoring/show/service', + array( + 'host' => $notification->host_name, + 'service' => $notification->service_description + ), + array( + 'class' => 'row-action' + ) + ); + } +?> +