notes.phtml: Load notes from shareables and user preferences
refs #5600
This commit is contained in:
parent
e27aa04c4b
commit
a1b219f97d
|
@ -3,6 +3,10 @@
|
|||
use Icinga\Web\Navigation\Navigation;
|
||||
|
||||
$navigation = new Navigation();
|
||||
$navigation->load($object->getType() . '-note');
|
||||
foreach ($navigation as $item) {
|
||||
$item->setObject($object);
|
||||
}
|
||||
|
||||
$notes = trim($object->getNotes());
|
||||
if ($notes) {
|
||||
|
|
Loading…
Reference in New Issue