updated website

This commit is contained in:
Zehka 2020-07-05 16:50:25 +02:00
parent 6c95d38789
commit 5721a871bd
4 changed files with 22 additions and 24 deletions

View File

@ -55,9 +55,9 @@
</ul> </ul>
</div> </div>
</div> </div>
<a href="/2020/03/14/chaostreff-absage.html"> <a href="/2020/03/28/virtueller-chaostreff.html">
<div style="margin-bottom: 0;" class="alert alert-danger text-center"> <div style="margin-bottom: 0;" class="alert alert-danger text-center">
<p>Aufgrund der aktuellen Situation sind alle Treffen bis auf Weiteres abgesagt.</p> <p>Aufgrund der aktuellen Situation sind die Clubräume bis auf Weiteres geschlossen. Der Chaostreff findet online statt.</p>
</div> </div>
</a> </a>
</nav> </nav>

View File

@ -1,11 +0,0 @@
---
layout: post
title: "testpost"
date: 2020-05-03 21:13:00
---
Dies ist eine Testnachricht
**Blabla**
This should work now

View File

@ -0,0 +1,10 @@
---
layout: post
title: "Virtueller Chaostreff und Petit Foo"
date: 2020-05-27 20:27:00
---
Aufgrund der aktuellen COVID19-Situation haben wir unsere Clubaktivitäten vollständig in den Cyberspace verlegt. Der Treff im Mumble-Server hat sich bewährt, er wird regelmäßig zum Austausch verwendet. Besonders zu unserem traditionellen Mittwochstreff sind viele Leute anwesend. Auch die wöchentlichen Kurzvorträge "Petit Foo" haben wir erfolgreich fortgeführt. Hierbei haben wir verschiedene Tools wie Nextcloud Talk und Big Blue Button für Bildübertragung verwendet und sehr gute Erfahrungen gemacht. Auch ein virtueller Filmabend über 'Watch2Gether' wurde durchgeführt.
Um sich mit unserem virtuellen Chaostreff zu verbinden benötigt man einen Mumble-Client, der für zahlreiche Betriebssysteme [zur Verfügung steht](https://www.mumble.info/downloads/). Zum Verbinden im Mumble-Client als Server einfach *“mumble.chaospott.de”* eingeben.
Die Kurzvorträge "Petit Foo" finden mittwochs um 20:00 Uhr statt.

View File

@ -110,7 +110,7 @@ Event.prototype.toHTML = function () {
}) })
} }
if (this.isCancelled()) { if (this.event.component.getFirstPropertyValue("status") == "CANCELLED") {
div_cal.style.textDecoration = 'line-through' div_cal.style.textDecoration = 'line-through'
} }
@ -129,6 +129,14 @@ function parseIcalData(data) {
events.map(function (e) { events.map(function (e) {
var event = new ICAL.Event(e) var event = new ICAL.Event(e)
if (event.component.getFirstPropertyValue("status") == "CANCELLED") {
// console.log(event)
if (!(cancelledEvents[event.uid] instanceof Array)) {
cancelledEvents[event.uid] = []
}
cancelledEvents[event.uid].push(event.startDate.toJSDate().getTime())
}
if (event.isRecurring()) { if (event.isRecurring()) {
var expand = event.iterator() var expand = event.iterator()
@ -145,16 +153,7 @@ function parseIcalData(data) {
} }
} }
} else if (eventInTimeRange(event, timeRangeStart, timeRangeStop)) { } else if (eventInTimeRange(event, timeRangeStart, timeRangeStop)) {
if (event.component.getFirstPropertyValue("status") == "CANCELLED") { eventList.push(new Event(event.startDate, event))
console.log(event)
if (!(cancelledEvents[event.uid] instanceof Array)) {
cancelledEvents[event.uid] = []
}
cancelledEvents[event.uid].push(event.startDate.toJSDate().getTime())
} else {
eventList.push(new Event(event.startDate, event))
}
} }
}) })
} }