diff --git a/application/layouts/scripts/parts/menu.phtml b/application/layouts/scripts/parts/menu.phtml
index 14b5bc0e7..7fdd67c23 100644
--- a/application/layouts/scripts/parts/menu.phtml
+++ b/application/layouts/scripts/parts/menu.phtml
@@ -1,16 +1,38 @@
-sub) ? '
' : '' ?>
+= $this->sub ? '' : '' ?>
items as $item): ?>
- - class="= $itemClass ?>">
getUrl()): ?>
- = ($item->getIcon()) ? $this->img($item->getIcon(), array('height' => '16px', 'width' => '16px')) : ''; ?> = $item->getTitle();?>
+ getIcon()) {
+ echo $this->img($icon, array('height' => '16px', 'width' => '16px'));
+ }
+ ?>
+ getIconClass()): ?>
+
+
+ = $item->getTitle();?>
getUrl()): ?>
- hasChildren()) :
- echo $this->partial('parts/menu.phtml', array('items' => $item->getChildren(), 'sub' => true, 'url' => $this->url));
- endif; ?>
+ hasChildren()) {
+ echo $this->partial(
+ 'parts/menu.phtml',
+ array('items' => $item->getChildren(), 'sub' => true, 'url' => $this->url)
+ );
+ }
+ ?>
-
-
\ No newline at end of file
+
+
diff --git a/public/css/icinga/navigation.less b/public/css/icinga/navigation.less
index 4f2ff7a34..f165492ce 100644
--- a/public/css/icinga/navigation.less
+++ b/public/css/icinga/navigation.less
@@ -85,10 +85,6 @@
color: red;
}
-.testclass > a{
- color: green;
-}
-
.active > a{
font-weight: bold;
text-decoration: underline;
@@ -207,4 +203,4 @@ ul.icinga-subnavigation {
.nav > .subclass {
text-decoration: underline;
font-size: 16px;
-}
\ No newline at end of file
+}