diff options
author | Frank Bergkemper <frank.bergkemper@bareos.com> | 2018-01-24 18:51:11 +0300 |
---|---|---|
committer | Frank Bergkemper <frank.bergkemper@bareos.com> | 2018-01-24 18:51:11 +0300 |
commit | 2c34a60d42978e408dab8c86057488dc6d386f6b (patch) | |
tree | dd3bd03b4c91eb0812afa003a72199b3c97e852e | |
parent | 972b440fa53c23bb0e67b1ee539c3b894d0a7a76 (diff) |
Topnavbar menu item IDs
Adds menu item IDs to the top navigation bar
to make testing with selenium a bit easier.
-rw-r--r-- | module/Application/config/module.config.php | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/module/Application/config/module.config.php b/module/Application/config/module.config.php index a056802..2d41824 100644 --- a/module/Application/config/module.config.php +++ b/module/Application/config/module.config.php @@ -123,10 +123,12 @@ return array( 'default' => array( array( 'label' => _('Dashboard'), + 'id' => 'topnavbar-dashboard', 'route' => 'dashboard', ), array( 'label' => _('Jobs'), + 'id' => 'topnavbar-job', 'route' => 'job', 'pages' => array( array( @@ -143,18 +145,22 @@ return array( ), array( 'label' => _('Restore'), + 'id' => 'topnavbar-restore', 'route' => 'restore', ), array( 'label' => _('Clients'), + 'id' => 'topnavbar-client', 'route' => 'client', ), array( 'label' => _('Schedules'), + 'id' => 'topnavbar-schedule', 'route' => 'schedule', ), array( 'label' => _('Storages'), + 'id' => 'topnavbar-storage', 'route' => 'storage', 'pages' => array( array( @@ -181,6 +187,7 @@ return array( ), array( 'label' => _('Director'), + 'id' => 'topnavbar-director', 'route' => 'director', ), ), |