fix second calendar month and PDF link
This commit is contained in:
@@ -90,7 +90,7 @@
|
||||
</button>
|
||||
<?php endif; ?>
|
||||
|
||||
<button class="button_mainpage unselectable bg_darkblue" onclick="window.open('https://nak-reinickendorf.de/pdf/terminuebersicht.pdf', '_blank');">
|
||||
<button class="button_mainpage unselectable bg_darkblue" onclick="window.open('/pdf/terminuebersicht.pdf', '_blank');">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor" width="32" height="32"><path d="M19 4h-1V2h-2v2H8V2H6v2H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 16H5V10h14v10zm0-12H5V6h14v2z"/></svg>
|
||||
<div class="text">Monatsplan</div>
|
||||
</button>
|
||||
|
||||
@@ -282,7 +282,10 @@ if jStart + 1 < 12:
|
||||
pdf.cell(20, 4, pdf_safe(date_for_table[2] + "." + date_for_table[1] + "." + date_for_table[0]), 0, 0, "C", fill=True)
|
||||
|
||||
event_full_block = table_cells[j].find_all("div", class_="calEventBox")
|
||||
events = table_cells[j].find_all(style="margin-right:.2em")
|
||||
events = table_cells[j].find_all(
|
||||
style=lambda style: style
|
||||
and "margin-right:.2em" in style.replace(" ", "")
|
||||
)
|
||||
|
||||
pdf.cell(15, 4, pdf_safe(weekdays_list[weekday]), 0, 0, "C", fill=True)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user