From 678d1fa782111f0375487161b494542c0bf62a93 Mon Sep 17 00:00:00 2001 From: kindlm Date: Mon, 14 Mar 2016 17:35:33 +0100 Subject: [PATCH] Legende bei Notenliste, was Markierung bedeutet --- cis/private/lehre/notenliste.php | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/cis/private/lehre/notenliste.php b/cis/private/lehre/notenliste.php index fc8932f12..d2c9da571 100644 --- a/cis/private/lehre/notenliste.php +++ b/cis/private/lehre/notenliste.php @@ -209,6 +209,7 @@ else "; $i=0; + $legende = false; while($row=$db->db_fetch_object($result)) { $lv_obj = new lehrveranstaltung(); @@ -237,10 +238,13 @@ else } if ($row->note != $row->lvnote && $row->lvnote != NULL) - $markier = " style='border: 1px solid red;'"; + { + $markier = " style='background-color: #FFD999;'"; + $legende=true; + } else $markier = ""; - $tbl .= ""; + $tbl .= ""; if(isset($notenarr[$row->note])) $tbl.=$notenarr[$row->note]; @@ -288,6 +292,9 @@ else $tbl.= ""; + + if($legende) + $tbl.= "
".$p->t('tools/hinweistextMarkierung')."
"; if($i==0) echo $p->t('tools/nochKeineBeurteilungEingetragen'); else