diff options
Diffstat (limited to 'mayor-orig/mayor-naplo')
-rw-r--r-- | mayor-orig/mayor-naplo/log/mayor-naplo.rev | 2 | ||||
-rw-r--r-- | mayor-orig/mayor-naplo/www/skin/classic/module-naplo/javascript/naplo.jquery.min.js | 33 |
2 files changed, 22 insertions, 13 deletions
diff --git a/mayor-orig/mayor-naplo/log/mayor-naplo.rev b/mayor-orig/mayor-naplo/log/mayor-naplo.rev index e2f5cf77..cebe3996 100644 --- a/mayor-orig/mayor-naplo/log/mayor-naplo.rev +++ b/mayor-orig/mayor-naplo/log/mayor-naplo.rev @@ -1 +1 @@ -4626 +4627 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 += '<li><span>Tanár: ' + adat['oraAdat']['kiCn'] +'</li>'; if (adat['oraAdat']['kitCn']!='') content += '<li>Helyettesítendő: ' + adat['oraAdat']['kitCn'] +'</li>'; content += '<li>Terem: ' + (adat['oraAdat']['teremId']==null?'–':adat['oraAdat']['teremId']) +'</li>'; - content += '<li>Leírás: ' + (adat['oraAdat']['leiras']) +'</li>'; +// content += '<li>Leírás: ' + (adat['oraAdat']['leiras']) +'</li>'; content += '</ul>'; - if (adat['oraBeirhato']) content += adat['oraForm']; + content += '<h3>Tananyag</h3>'; + if (adat['oraBeirhato']) { + content += adat['oraForm']; + } else { + if (adat['oraAdat']['leiras']!=null) { + content += '<div style="border-left: solid 0px #888; padding: 4px; background-color:#444;">'; + content += adat['oraAdat']['leiras']; + content += '</div>'; + } + } + // content += '<h3>Óra kapcsolatai</h3>'; // content += '<ul><li>Beírt mulasztások száma: '+'n/a'+'</li>'; // content += '<li>Beírt jegyek száma: '+'n/a'+'</li>'; // content += '</ul>'; - content += '<h3>Dolgozatok</h3>'; + content += '<h3>Házi feladat '; + content += '<a href="'+href({'page':'naplo','sub':'haladasi','f':'hazifeladat','oraId':adat['oraAdat']['oraId']})+'"><span class="icon-resize-full"></span></a>'; + content += '</h3>'; + if (adat['oraAdat']['hazifeladatId']>0) { + content += '<div style="border-left: solid 0px #888; padding: 4px; background-color:#444;">'; + content += adat['oraAdat']['hazifeladatLeiras']; + content += '</div>'; + } + content += '<h3>Dolgozatok</h3>'; if (adat['dolgozat']['dolgozatIds'].length>0) { content += '<ul>'; for (i=0; i<adat['dolgozat'].dolgozatIds.length; i++) { @@ -737,15 +755,6 @@ processJSONOraAdat = function(adat) { content += adat['dolgozatForm']; } - - content += '<h3>Házi feladat '; - content += '<a href="'+href({'page':'naplo','sub':'haladasi','f':'hazifeladat','oraId':adat['oraAdat']['oraId']})+'"><span class="icon-home-alt"></span></a>'; - content += '</h3>'; - if (adat['oraAdat']['hazifeladatId']>0) { - content += '<div style="border: solid 1px #999">'; - content += adat['oraAdat']['hazifeladatLeiras']; - content += '</div>'; - } if (adat['elozoOrak']!=undefined && adat['elozoOrak'].length>0) { content += '<h3>Előző órák</h3>'; content += '<ul>'; |