mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-21 12:54:26 +02:00
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;
|
use Icinga\Web\Navigation\Navigation;
|
||||||
|
|
||||||
$navigation = new Navigation();
|
$navigation = new Navigation();
|
||||||
|
$navigation->load($object->getType() . '-note');
|
||||||
|
foreach ($navigation as $item) {
|
||||||
|
$item->setObject($object);
|
||||||
|
}
|
||||||
|
|
||||||
$notes = trim($object->getNotes());
|
$notes = trim($object->getNotes());
|
||||||
if ($notes) {
|
if ($notes) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user