From dfe4e3d82c4e34360c72be0fb62ffb3c64186bc3 Mon Sep 17 00:00:00 2001 From: Cris Date: Tue, 1 Oct 2019 14:28:15 +0200 Subject: [PATCH] Embedded into FH-Complete Navigation . Added navigation items to top and left side menu for Lehrauftraege bestellen and Lehrauftraege erteilen. . Added NavigationWidget to views. --- application/config/navigation.php | 41 +++++++++++++++++++ .../lehre/lehrauftrag/approveLehrauftrag.php | 5 ++- .../lehre/lehrauftrag/orderLehrauftrag.php | 7 ++-- 3 files changed, 48 insertions(+), 5 deletions(-) diff --git a/application/config/navigation.php b/application/config/navigation.php index d6f4b8452..306728657 100644 --- a/application/config/navigation.php +++ b/application/config/navigation.php @@ -51,6 +51,13 @@ $config['navigation_header'] = array( 'sort' => 30, 'requiredPermissions' => 'infocenter:r' ), + 'lehrauftrag' => array( + 'link' => site_url('lehre/lehrauftrag/Lehrauftrag'), + 'description' => 'Lehrauftrag', + 'expand' => true, + 'sort' => 40, + 'requiredPermissions' => 'lehre:r' + ) ) ), 'Personen' => array( @@ -118,3 +125,37 @@ $config['navigation_menu']['organisation/Reihungstest/index'] = array( 'target' => '_blank' ) ); + +$config['navigation_menu']['lehre/lehrauftrag/Lehrauftrag/index'] = array( + 'lehrauftragBestellen' => array( + 'link' => site_url('lehre/lehrauftrag/Lehrauftrag'), + 'description' => 'Lehrauftrag bestellen', + 'icon' => '', + 'sort' => 1, + 'target' => '_blank' + ), + 'lehrauftragErteilen' => array( + 'link' => site_url('lehre/lehrauftrag/LehrauftragErteilen'), + 'description' => 'Lehrauftrag erteilen', + 'icon' => '', + 'sort' => 1, + 'target' => '_blank' + ) +); + +$config['navigation_menu']['lehre/lehrauftrag/LehrauftragErteilen/index'] = array( + 'lehrauftragBestellen' => array( + 'link' => site_url('lehre/lehrauftrag/Lehrauftrag'), + 'description' => 'Lehrauftrag bestellen', + 'icon' => '', + 'sort' => 1, + 'target' => '_blank' + ), + 'lehrauftragErteilen' => array( + 'link' => site_url('lehre/lehrauftrag/LehrauftragErteilen'), + 'description' => 'Lehrauftrag erteilen', + 'icon' => '', + 'sort' => 1, + 'target' => '_blank' + ) +); diff --git a/application/views/lehre/lehrauftrag/approveLehrauftrag.php b/application/views/lehre/lehrauftrag/approveLehrauftrag.php index 2e16bec82..c23f58512 100644 --- a/application/views/lehre/lehrauftrag/approveLehrauftrag.php +++ b/application/views/lehre/lehrauftrag/approveLehrauftrag.php @@ -18,7 +18,6 @@ $this->load->view( 'phrases' => array( 'global' => array('lehrauftraege'), ), - 'customCSSs' => 'public/css/sbadmin2/tablesort_bootstrap.css', 'customJSs' => array('public/js/bootstrapper.js') ) ); @@ -26,7 +25,9 @@ $this->load->view( ?> -
+ widgetlib->widget('NavigationWidget'); ?> + +
diff --git a/application/views/lehre/lehrauftrag/orderLehrauftrag.php b/application/views/lehre/lehrauftrag/orderLehrauftrag.php index 3a33bb53a..07332dead 100644 --- a/application/views/lehre/lehrauftrag/orderLehrauftrag.php +++ b/application/views/lehre/lehrauftrag/orderLehrauftrag.php @@ -19,15 +19,16 @@ $this->load->view( 'phrases' => array( 'global' => array('lehrauftraege'), ), - 'customCSSs' => 'public/css/sbadmin2/tablesort_bootstrap.css', 'customJSs' => array('public/js/bootstrapper.js') ) ); ?> -
-
+ widgetlib->widget('NavigationWidget'); ?> +
+
+