From f594cba3efc0da6c87b3da9e288245f237cfac51 Mon Sep 17 00:00:00 2001 From: M.Gergo Date: Tue, 24 Mar 2020 22:22:19 +0100 Subject: Rev: 4635 --- .../skin/classic/module-naplo/html/orarend/orarend.phtml | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) (limited to 'mayor-orig/mayor-naplo/www/skin') diff --git a/mayor-orig/mayor-naplo/www/skin/classic/module-naplo/html/orarend/orarend.phtml b/mayor-orig/mayor-naplo/www/skin/classic/module-naplo/html/orarend/orarend.phtml index c04cd9ec..5c75bfb6 100644 --- a/mayor-orig/mayor-naplo/www/skin/classic/module-naplo/html/orarend/orarend.phtml +++ b/mayor-orig/mayor-naplo/www/skin/classic/module-naplo/html/orarend/orarend.phtml @@ -262,9 +262,16 @@ $_hianyzasClass = (is_array($_hianyzasAdat) && $_hianyzasAdat['hTipus']=='hiányzás') ? ' nemVoltBent ':''; echo '
'; if (isset($_ORA['hazifeladatId'])) { - if ($_ORA['diakHazifeladat']['hazifeladatDiakStatus'] == 'kész') $_hfcolor = 'lightgreen'; - else $_hfcolor = '#e91e63'; - echo ''; + if ($_ORA['hazifeladatFeltoltesEngedely']==1) { + $_icon = 'icon-paper-clip-alt'; + if ($_ORA['diakHazifeladat']['hazifeladatDiakStatus'] == 'kész') { $_hfcolor = 'lightgreen'; + } else { $_hfcolor = '#3f51b5'; } + } else { + $_icon= 'icon-home-alt'; + if ($_ORA['diakHazifeladat']['hazifeladatDiakStatus'] == 'kész') { $_hfcolor = 'lightgreen'; + } else { $_hfcolor = '#e91e63'; } + } + echo ''; } if (is_array($_hianyzasAdat)) { -- cgit v1.2.3