summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 7e1f1dd)
raw | patch | inline | side by side (parent: 7e1f1dd)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 29 Feb 2008 10:13:39 +0000 (10:13 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 29 Feb 2008 10:13:39 +0000 (10:13 +0000) |
-Added some status icons
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@9206 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@9206 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/goto/addons/gotomasses/class_gotomasses.inc | patch | blob | history |
diff --git a/gosa-plugins/goto/addons/gotomasses/class_gotomasses.inc b/gosa-plugins/goto/addons/gotomasses/class_gotomasses.inc
index 3db5527c91a1275c18617e303dfd18c67a73efdb..fe95e9fe2e944a07d04472a280f039f5cd96cc7b 100644 (file)
if(isset($this->events['BY_QUEUED_ACTION'][$task['HEADERTAG']]['s_Menu_Name'])){
$event_type = $this->events['BY_QUEUED_ACTION'][$task['HEADERTAG']];
$display2= $event_type['s_Menu_Name'];
+
+ if(strlen($display2) > 20){
+ $display2 = substr($display2,0,18)."...";
+ }
+
if(isset($event_type['ListImage']) && !empty($event_type['ListImage'])){
$display2 = $event_type['ListImage']." ".$display2;
}
}
$status = $task['STATUS'];
+
+ if($status == "waiting"){
+ $status = "<img class='center' src='images/clock.png' alt=''> "._("Waiting");
+ }
+ if($status == "error"){
+ $status = "<img class='center' src='images/false.png' alt=''> "._("Error");
+ }
/* Special handling for all entries that have
STATUS == "processing" && PROGRESS == NUMERIC