Show group name instead the icon in metaconsole. TICKET: #1501

(cherry picked from commit 1141127a34)
This commit is contained in:
mdtrooper 2015-03-09 15:08:26 +01:00
parent dba729a272
commit 18fd20c078
1 changed files with 4 additions and 1 deletions

View File

@ -2321,7 +2321,10 @@ function events_page_general ($event) {
$data = array();
$data[0] = __('Group');
$data[1] = ui_print_group_icon ($event["id_grupo"], true);
$data[1] = "";
if (!$config['show_group_name']) {
$data[1] = ui_print_group_icon ($event["id_grupo"], true);
}
$data[1] .= groups_get_name ($event["id_grupo"]);
$table_general->data[] = $data;