parent
16cc5e333a
commit
dc0359f5b2
|
@ -27,13 +27,14 @@ class Zend_View_Helper_IconImage extends Zend_View_Helper_Abstract
|
|||
public function host($object)
|
||||
{
|
||||
if ($object->host_icon_image && ! preg_match('/[\'"]/', $object->host_icon_image)) {
|
||||
return $this->view->icon(
|
||||
return $this->view->img(
|
||||
Macro::resolveMacros($object->host_icon_image, $object),
|
||||
null,
|
||||
array(
|
||||
'alt' => $object->host_icon_image_alt,
|
||||
'title' => $object->host_icon_image_alt,
|
||||
'data-tooltip-delay' => 0
|
||||
'alt' => $object->host_icon_image_alt,
|
||||
'data-tooltip-delay' => 0,
|
||||
'class' => 'host-icon-image',
|
||||
'title' => $object->host_icon_image_alt
|
||||
)
|
||||
);
|
||||
}
|
||||
|
@ -49,13 +50,14 @@ class Zend_View_Helper_IconImage extends Zend_View_Helper_Abstract
|
|||
public function service($object)
|
||||
{
|
||||
if ($object->service_icon_image && ! preg_match('/[\'"]/', $object->service_icon_image)) {
|
||||
return $this->view->icon(
|
||||
return $this->view->img(
|
||||
Macro::resolveMacros($object->service_icon_image, $object),
|
||||
null,
|
||||
array(
|
||||
'alt' => $object->service_icon_image_alt,
|
||||
'title' => $object->service_icon_image_alt,
|
||||
'data-tooltip-delay' => 0
|
||||
'alt' => $object->service_icon_image_alt,
|
||||
'class' => 'service-icon-image',
|
||||
'data-tooltip-delay' => 0,
|
||||
'title' => $object->service_icon_image_alt
|
||||
)
|
||||
);
|
||||
}
|
||||
|
|
|
@ -2,6 +2,13 @@
|
|||
|
||||
@border-left-width: 6px;
|
||||
|
||||
// Icon images in list and detail views
|
||||
.host-icon-image,
|
||||
.service-icon-image {
|
||||
max-width: 2em;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
// Check source reachable information in the host and service detail views
|
||||
.check-source-meta {
|
||||
font-size: @font-size-small;
|
||||
|
|
Loading…
Reference in New Issue