diff --git a/assets/images/shabbat-abstract/ashkenaziBooks-add.svg b/assets/images/shabbat-abstract/ashkenaziBooks-add.svg new file mode 100644 index 0000000..f12c8ee --- /dev/null +++ b/assets/images/shabbat-abstract/ashkenaziBooks-add.svg @@ -0,0 +1,1343 @@ + + + + diff --git a/assets/js/features/chaiTables.js b/assets/js/features/chaiTables.js index c60acb6..3483190 100644 --- a/assets/js/features/chaiTables.js +++ b/assets/js/features/chaiTables.js @@ -107,7 +107,7 @@ class ChaiTables { .find(table=>[14,15].includes(table.rows[0].cells.length)); if (!zmanTable) - return; + throw Error("No zman table found: " + domParsed.getElementById('fetchURLInject').innerHTML); for (let rowIndexString of Object.keys(zmanTable.rows)) { let rowIndex = parseInt(rowIndexString); @@ -175,6 +175,11 @@ class ChaiTables { const ctResponse = await ctFetch.text() const ctDoc = (new DOMParser()).parseFromString(ctResponse, "text/html"); + const inputInject = document.createElement('script') + inputInject.id = 'fetchURLInject' + inputInject.innerHTML = `// CTScrapeOriginalURL: ${ctLink.toString()};` + ctDoc.head.appendChild(inputInject) + if (!ctDoc.getElementsByTagName('table').length) { continue; } diff --git a/assets/js/flyers/multiZman.js b/assets/js/flyers/multiZman.js index 2406c9a..4e274d9 100644 --- a/assets/js/flyers/multiZman.js +++ b/assets/js/flyers/multiZman.js @@ -35,7 +35,7 @@ const rYisraeliCal = new rYisraelizmanim(fallbackGL); /** @type {string[]} */ let calendars = []; -const jCal = new WebsiteLimudCalendar(5784, KosherZmanim.JewishDate.AV, 27) +const jCal = new WebsiteLimudCalendar(5784, KosherZmanim.JewishDate.ELUL, 4) const shabbatDate = jCal.getDate(); switch (document.getElementById('gridElement').getAttribute('data-flyerType')) { diff --git a/pages/flyers/shabbat/online/indTown/brooklyn.html b/pages/flyers/shabbat/online/indTown/brooklyn.html index 6ea0a47..6407894 100644 --- a/pages/flyers/shabbat/online/indTown/brooklyn.html +++ b/pages/flyers/shabbat/online/indTown/brooklyn.html @@ -299,6 +299,14 @@ padding: .5rem 1rem; align-content: end; } + + #ashkenaziAd { + justify-self: start; + align-self: center; + width: 60%; + margin-top: 30vh; + z-index: 10; + } @@ -342,6 +350,7 @@ לְכָה דוֹדִי לִקְרַאת כַּלָּה פְּנֵי שַׁבָּת נְקַבְּלָה +