From a7992b5395dab0da64527b8cc6357709196663d2 Mon Sep 17 00:00:00 2001
From: M.Gergo
Date: Sun, 22 Mar 2020 12:59:57 +0100
Subject: Rev: 4627
---
.../module-naplo/javascript/naplo.jquery.min.js | 33 ++++++++++++++--------
1 file changed, 21 insertions(+), 12 deletions(-)
(limited to 'mayor-orig/mayor-naplo/www')
diff --git a/mayor-orig/mayor-naplo/www/skin/classic/module-naplo/javascript/naplo.jquery.min.js b/mayor-orig/mayor-naplo/www/skin/classic/module-naplo/javascript/naplo.jquery.min.js
index 2337a13e..df72b0cb 100644
--- a/mayor-orig/mayor-naplo/www/skin/classic/module-naplo/javascript/naplo.jquery.min.js
+++ b/mayor-orig/mayor-naplo/www/skin/classic/module-naplo/javascript/naplo.jquery.min.js
@@ -713,17 +713,35 @@ processJSONOraAdat = function(adat) {
// if (adat['oraAdat']['kiCn']!='') content += '
Tanár: ' + adat['oraAdat']['kiCn'] +'';
if (adat['oraAdat']['kitCn']!='') content += 'Helyettesítendő: ' + adat['oraAdat']['kitCn'] +'';
content += 'Terem: ' + (adat['oraAdat']['teremId']==null?'–':adat['oraAdat']['teremId']) +'';
- content += 'Leírás: ' + (adat['oraAdat']['leiras']) +'';
+// content += 'Leírás: ' + (adat['oraAdat']['leiras']) +'';
content += '';
- if (adat['oraBeirhato']) content += adat['oraForm'];
+ content += 'Tananyag
';
+ if (adat['oraBeirhato']) {
+ content += adat['oraForm'];
+ } else {
+ if (adat['oraAdat']['leiras']!=null) {
+ content += '';
+ content += adat['oraAdat']['leiras'];
+ content += '
';
+ }
+ }
+
// content += 'Óra kapcsolatai
';
// content += '- Beírt mulasztások száma: '+'n/a'+'
';
// content += '- Beírt jegyek száma: '+'n/a'+'
';
// content += '
';
- content += 'Dolgozatok
';
+ content += 'Házi feladat ';
+ content += '';
+ content += '
';
+ if (adat['oraAdat']['hazifeladatId']>0) {
+ content += '';
+ content += adat['oraAdat']['hazifeladatLeiras'];
+ content += '
';
+ }
+ content += 'Dolgozatok
';
if (adat['dolgozat']['dolgozatIds'].length>0) {
content += '