aboutsummaryrefslogtreecommitdiffstats
path: root/mayor-orig/mayor-naplo/www/skin/classic
diff options
context:
space:
mode:
authorM.Gergo2020-03-22 12:59:57 +0100
committerM.Gergo2020-03-22 12:59:57 +0100
commita7992b5395dab0da64527b8cc6357709196663d2 (patch)
tree0b3a99424bd222574961241b6b07c5178d1c028f /mayor-orig/mayor-naplo/www/skin/classic
parenteb17b2a9313d0b9bc3ce9f82b6426f3fc1f9c687 (diff)
downloadmayor-a7992b5395dab0da64527b8cc6357709196663d2.tar.gz
mayor-a7992b5395dab0da64527b8cc6357709196663d2.zip
Rev: 4627rev4627
Diffstat (limited to 'mayor-orig/mayor-naplo/www/skin/classic')
-rw-r--r--mayor-orig/mayor-naplo/www/skin/classic/module-naplo/javascript/naplo.jquery.min.js33
1 files changed, 21 insertions, 12 deletions
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>';