[icinga-checkins] icinga.org: icingaweb2/feature/announce-banner-11198: Menu: provide link to the announces

git at icinga.org git at icinga.org
Fri Oct 28 18:21:28 CEST 2016


Module: icingaweb2
Branch: feature/announce-banner-11198
Commit: 06f03b3b8a67304929a77ef009cda93dd975a851
URL:    https://git.icinga.org/?p=icingaweb2.git;a=commit;h=06f03b3b8a67304929a77ef009cda93dd975a851

Author: Alexander A. Klimov <alexander.klimov at icinga.com>
Date:   Fri Oct 28 18:16:23 2016 +0200

Menu: provide link to the announces

refs #11198

---

 library/Icinga/Application/Web.php |    6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/library/Icinga/Application/Web.php b/library/Icinga/Application/Web.php
index df5cbf7..1900ecd 100644
--- a/library/Icinga/Application/Web.php
+++ b/library/Icinga/Application/Web.php
@@ -305,6 +305,12 @@ class Web extends EmbeddedWeb
                             'label'     => t('About'),
                             'url'       => 'about',
                             'priority'  => 701
+                        ),
+                        'announces' => array(
+                            'label'      => t('Announces'),
+                            'url'        => 'announces',
+                            'permission' => 'admin/announces',
+                            'priority'   => 711
                         )
                     )
                 ),



More information about the icinga-checkins mailing list