From be36a8b27bd247a13cc9056a944cac01aee640cd Mon Sep 17 00:00:00 2001 From: cajus Date: Fri, 18 Apr 2008 09:36:33 +0000 Subject: [PATCH] Added "in progress" message for softupdates git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10554 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-plugins/goto/addons/goto/class_gotomasses.inc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/gosa-plugins/goto/addons/goto/class_gotomasses.inc b/gosa-plugins/goto/addons/goto/class_gotomasses.inc index 491f17c6a..6d467d55e 100644 --- a/gosa-plugins/goto/addons/goto/class_gotomasses.inc +++ b/gosa-plugins/goto/addons/goto/class_gotomasses.inc @@ -461,7 +461,11 @@ class gotomasses extends plugin /* Real percent */ } else { - $status = "".$percent." %"; + if (preg_match('/install/', $task['HEADERTAG'])){ + $status = "".$percent." %"; + } else { + $status = preg_replace('/ /', ' ', _("in progress")); + } } } -- 2.30.2