summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 091aa71)
raw | patch | inline | side by side (parent: 091aa71)
author | psc <psc@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 30 Apr 2010 10:33:42 +0000 (10:33 +0000) | ||
committer | psc <psc@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 30 Apr 2010 10:33:42 +0000 (10:33 +0000) |
When deleting events from the deployment status show the
system name in parentheses (if available)
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@17990 594d385d-05f5-0310-b6e9-bd551577e9d8
system name in parentheses (if available)
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@17990 594d385d-05f5-0310-b6e9-bd551577e9d8
trunk/gosa-plugins/goto/addons/goto/class_gotomasses.inc | patch | blob | history |
diff --git a/trunk/gosa-plugins/goto/addons/goto/class_gotomasses.inc b/trunk/gosa-plugins/goto/addons/goto/class_gotomasses.inc
index b7200f3444bbcdaeace8b9fd37a07668d881f877..a56993518b15a28222de19c12b70824d62872944 100644 (file)
$j_name = $task['ID']." - ".$task['HEADERTAG']." ".$task['MACADDRESS'];
}
+ /* If system name is available show it in parantheses next to each entry */
+ if(isset($task['PLAINNAME']) && $task['PLAINNAME'] != 'none') {
+ $j_name .= sprintf(" (%s) ", $task['PLAINNAME']);
+ }
+
/* Only remove WAITING or ERROR entries */
if(in_array($task['STATUS'],array("waiting","error","processed")) ||
($task['STATUS'] == "processing" && !preg_match("/install/",$task['HEADERTAG'])) ){