diff --git a/application/controllers/person/Gruppenmanagement.php b/application/controllers/person/Gruppenmanagement.php index 25f277e83..fb24f9a54 100644 --- a/application/controllers/person/Gruppenmanagement.php +++ b/application/controllers/person/Gruppenmanagement.php @@ -37,7 +37,8 @@ class Gruppenmanagement extends Auth_Controller 'person', 'lehre', 'ui', - 'filter' + 'filter', + 'gruppenmanagement' ) ); @@ -53,8 +54,6 @@ class Gruppenmanagement extends Auth_Controller */ public function index() { - //$this->_setNavigationMenuIndex(); // define the navigation menu for this page - $this->load->view( 'person/gruppenmanagement/gruppenmanagement.php', array('uid' => $this->_uid) @@ -92,7 +91,6 @@ class Gruppenmanagement extends Auth_Controller $this->outputJson($benutzerRes); } - /** * Gets all Benutzer for assignment to Gruppe */ diff --git a/application/views/person/gruppenmanagement/benutzergruppe.php b/application/views/person/gruppenmanagement/benutzergruppe.php index f3864c11b..1bb698591 100644 --- a/application/views/person/gruppenmanagement/benutzergruppe.php +++ b/application/views/person/gruppenmanagement/benutzergruppe.php @@ -14,6 +14,7 @@ 'filterwidget' => true, 'navigationwidget' => true, 'phrases' => array( + 'gruppenmanagement', 'ui' ), 'customCSSs' => 'public/css/sbadmin2/tablesort_bootstrap.css', @@ -45,8 +46,7 @@ @@ -58,9 +58,9 @@
| Uid | -p->t('global', 'vorname')); ?> | -p->t('global', 'nachname')); ?> | -p->t('global', 'aktiv')); ?> | +p->t('person', 'vorname')); ?> | +p->t('person', 'nachname')); ?> | +p->t('gruppenmanagement', 'aktiv')); ?> | p->t('ui', 'entfernen')); ?> | diff --git a/application/views/person/gruppenmanagement/gruppenmanagement.php b/application/views/person/gruppenmanagement/gruppenmanagement.php index 47ea5a2dc..32416eb86 100644 --- a/application/views/person/gruppenmanagement/gruppenmanagement.php +++ b/application/views/person/gruppenmanagement/gruppenmanagement.php @@ -13,7 +13,7 @@ 'filterwidget' => true, 'navigationwidget' => true, 'phrases' => array( - 'ui' => array('bitteEintragWaehlen') + 'ui' ), 'customCSSs' => 'public/css/sbadmin2/tablesort_bootstrap.css', 'customJSs' => array('public/js/bootstrapper.js') diff --git a/application/views/person/gruppenmanagement/gruppenmanagementData.php b/application/views/person/gruppenmanagement/gruppenmanagementData.php index 4832cdd69..4eef0acec 100644 --- a/application/views/person/gruppenmanagement/gruppenmanagementData.php +++ b/application/views/person/gruppenmanagement/gruppenmanagementData.php @@ -12,23 +12,23 @@ 'datasetRepresentation' => 'tablesorter', 'additionalColumns' => array('Teilnehmer'), 'columnsAliases' => array( - ucfirst($this->p->t('gruppenmanagement', 'kurzbezeichnung')) , - ucfirst($this->p->t('global', 'bezeichnung')) , - ucfirst($this->p->t('global', 'beschreibung')) , - ucfirst($this->p->t('lehre', 'studiengangskennzahl')) , + ucfirst($this->p->t('gruppenmanagement', 'kurzbezeichnung')), + ucfirst($this->p->t('gruppenmanagement', 'bezeichnung')), + ucfirst($this->p->t('gruppenmanagement', 'beschreibung')), + ucfirst($this->p->t('lehre', 'studiengangskennzahlLehre')), ucfirst($this->p->t('lehre', 'studiengang')), - ucfirst($this->p->t('lehre', 'semester')) , - ucfirst($this->p->t('gruppenmanagement', 'sichtbar')) , - ucfirst($this->p->t('gruppenmanagement', 'lehre')) , - ucfirst($this->p->t('gruppenmanagement', 'aktiv')) , - ucfirst($this->p->t('gruppenmanagement', 'mailgrp')) , - ucfirst($this->p->t('gruppenmanagement', 'generiert')) + ucfirst($this->p->t('lehre', 'semester')), + 'Sichtbar', + 'Lehre', + 'Aktiv', + 'Mailgrp', + 'Generiert' ), 'formatRow' => function($datasetRaw) { /* NOTE: Dont use $this here for PHP Version compatibility */ $datasetRaw->{'Teilnehmer'} = sprintf( - ''.$this->p->t('gruppenmanagement', 'zuweisenlöschen').'', + ''.$this->p->t('gruppenmanagement', 'zuweisenloeschen').'', site_url('person/Gruppenmanagement/showBenutzergruppe'), $datasetRaw->{'gruppe_kurzbz'}, 'index', diff --git a/system/phrasesupdate.php b/system/phrasesupdate.php index ccba62ff0..c45a1aba2 100644 --- a/system/phrasesupdate.php +++ b/system/phrasesupdate.php @@ -14871,7 +14871,187 @@ array( 'insertvon' => 'system' ) ) - ) + ), + array( + 'app' => 'core', + 'category' => 'gruppenmanagement', + 'phrase' => 'benutzerSchonZugewiesen', + 'insertvon' => 'system', + 'phrases' => array( + array( + 'sprache' => 'German', + 'text' => "Benutzer ist bereits der Gruppe zugewiesen", + 'description' => '', + 'insertvon' => 'system' + ), + array( + 'sprache' => 'English', + 'text' => "User is already assigned to the group", + 'description' => '', + 'insertvon' => 'system' + ) + ) + ), + array( + 'app' => 'core', + 'category' => 'gruppenmanagement', + 'phrase' => 'gruppenmanagement', + 'insertvon' => 'system', + 'phrases' => array( + array( + 'sprache' => 'German', + 'text' => "Gruppenmanagement", + 'description' => '', + 'insertvon' => 'system' + ), + array( + 'sprache' => 'English', + 'text' => "Group management", + 'description' => '', + 'insertvon' => 'system' + ) + ) + ), + array( + 'app' => 'core', + 'category' => 'gruppenmanagement', + 'phrase' => 'kurzbezeichnung', + 'insertvon' => 'system', + 'phrases' => array( + array( + 'sprache' => 'German', + 'text' => "Kurzbezeichnung", + 'description' => '', + 'insertvon' => 'system' + ), + array( + 'sprache' => 'English', + 'text' => "Short description", + 'description' => '', + 'insertvon' => 'system' + ) + ) + ), + array( + 'app' => 'core', + 'category' => 'gruppenmanagement', + 'phrase' => 'bezeichnung', + 'insertvon' => 'system', + 'phrases' => array( + array( + 'sprache' => 'German', + 'text' => "Bezeichnung", + 'description' => '', + 'insertvon' => 'system' + ), + array( + 'sprache' => 'English', + 'text' => "Name", + 'description' => '', + 'insertvon' => 'system' + ) + ) + ), + array( + 'app' => 'core', + 'category' => 'gruppenmanagement', + 'phrase' => 'beschreibung', + 'insertvon' => 'system', + 'phrases' => array( + array( + 'sprache' => 'German', + 'text' => "Beschreibung", + 'description' => '', + 'insertvon' => 'system' + ), + array( + 'sprache' => 'English', + 'text' => "Description", + 'description' => '', + 'insertvon' => 'system' + ) + ) + ), + array( + 'app' => 'core', + 'category' => 'gruppenmanagement', + 'phrase' => 'zuweisenloeschen', + 'insertvon' => 'system', + 'phrases' => array( + array( + 'sprache' => 'German', + 'text' => "Zuweisen/Entfernen", + 'description' => '', + 'insertvon' => 'system' + ), + array( + 'sprache' => 'English', + 'text' => "Assign/Remove", + 'description' => '', + 'insertvon' => 'system' + ) + ) + ), + array( + 'app' => 'core', + 'category' => 'gruppenmanagement', + 'phrase' => 'benutzergruppe', + 'insertvon' => 'system', + 'phrases' => array( + array( + 'sprache' => 'German', + 'text' => "Benutzergruppe", + 'description' => '', + 'insertvon' => 'system' + ), + array( + 'sprache' => 'English', + 'text' => "User group", + 'description' => '', + 'insertvon' => 'system' + ) + ) + ), + array( + 'app' => 'core', + 'category' => 'gruppenmanagement', + 'phrase' => 'benutzerHinzufuegen', + 'insertvon' => 'system', + 'phrases' => array( + array( + 'sprache' => 'German', + 'text' => "Benutzer hinzufügen", + 'description' => '', + 'insertvon' => 'system' + ), + array( + 'sprache' => 'English', + 'text' => "Add user", + 'description' => '', + 'insertvon' => 'system' + ) + ) + ), + array( + 'app' => 'core', + 'category' => 'gruppenmanagement', + 'phrase' => 'aktiv', + 'insertvon' => 'system', + 'phrases' => array( + array( + 'sprache' => 'German', + 'text' => "aktiv", + 'description' => '', + 'insertvon' => 'system' + ), + array( + 'sprache' => 'English', + 'text' => "active", + 'description' => '', + 'insertvon' => 'system' + ) + ) + ) );
|---|