diff --git a/checkin_notes b/checkin_notes index 4322475c4e..d0866b44ef 100755 --- a/checkin_notes +++ b/checkin_notes @@ -6606,4 +6606,12 @@ David Oct 8 2003 wingui_mainwindow.cpp wingui_piecectrl.cpp lib/ - util.C,h \ No newline at end of file + util.C,h + +David Oct 8 2003 + - add low-detail option to WU display + + html_ops/ + db_action.php + db_form.php + db_ops.php diff --git a/html/ops/db_action.php b/html/ops/db_action.php index a73dce1c7a..852455fa2e 100644 --- a/html/ops/db_action.php +++ b/html/ops/db_action.php @@ -106,14 +106,16 @@ start_table(); switch($table) { case "result": result_short_header(); break; + case "workunit": workunit_short_header(); break; case "host": host_short_header(); break; } } while ($res = mysql_fetch_object($result)) { if ($detail == "low") { switch ($table) { - case "result": show_result_short($res); break; - case "host": show_host_short($res); break; + case "result": show_result_short($res); break; + case "host": show_host_short($res); break; + case "workunit": show_workunit_short($res); break; } } else { switch ($table) { diff --git a/html/ops/db_form.php b/html/ops/db_form.php index 616843ba60..eff1469ffb 100644 --- a/html/ops/db_form.php +++ b/html/ops/db_form.php @@ -42,6 +42,7 @@ require_once("db_ops.inc"); print_detail_field(); } else if ($table=="workunit") { print_checkbox("Hide XML fields", "hide_xml_docs", $hide_xml_docs); + print_detail_field(); } else if ($table=="result") { echo "
"; } +function workunit_short_header() { + echo " +