From ff3a100975b80c7a69668815ba5c75413861f1ee Mon Sep 17 00:00:00 2001 From: M.Gergo Date: Thu, 26 Mar 2020 03:05:03 +0100 Subject: Rev: 4638 --- .../module-naplo/html/haladasi/haladasi.phtml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'mayor-orig/mayor-naplo/www/skin/classic') diff --git a/mayor-orig/mayor-naplo/www/skin/classic/module-naplo/html/haladasi/haladasi.phtml b/mayor-orig/mayor-naplo/www/skin/classic/module-naplo/html/haladasi/haladasi.phtml index e267cf27..ce15cd4d 100644 --- a/mayor-orig/mayor-naplo/www/skin/classic/module-naplo/html/haladasi/haladasi.phtml +++ b/mayor-orig/mayor-naplo/www/skin/classic/module-naplo/html/haladasi/haladasi.phtml @@ -527,6 +527,25 @@ } } echo ''; + + + if (isset($dOra['hazifeladatId'])) { + if ($dOra['hazifeladatFeltoltesEngedely']==1) { + $_icon = 'icon-paper-clip-alt'; + if ($ADAT['diakHazifeladat'][$dOra['oraId']]['hazifeladatDiakStatus'] == 'kész') { $_hfcolor = 'lightgreen'; + } else { $_hfcolor = '#3f51b5'; } + } else { + $_icon= 'icon-home-alt'; + if ($ADAT['diakHazifeladat'][$dOra['oraId']]['hazifeladatDiakStatus'] == 'kész') { $_hfcolor = 'lightgreen'; + } else { $_hfcolor = '#e91e63'; } + } + echo ''; + } else { + echo ''; + } + +/* + if ($dOra['hazifeladatId']>0) { if ($ADAT['diakHazifeladat'][$dOra['oraId']]['hazifeladatDiakStatus'] =='kész') { $hfColor = 'lightgreen'; @@ -537,6 +556,7 @@ } else { echo ''; } +*/ echo ''; -- cgit v1.2.3