Merge pull request 'staging' (#10) from staging into master

Reviewed-on: http://localhost:3000/zino/seatmapv2/pulls/10
This commit is contained in:
zino
2021-05-28 17:38:48 +02:00

View File

@@ -28,10 +28,12 @@ export function changeSiteTitle(): void {
export function setEventInfo(inEventInfo: I.EventInfo): void {
const inputsWithValue = config.state.inputsWithValue!;
const desc: string = Utils.encodeCP850DecodeUTF8(inEventInfo.desc[0]);
const location: string = Utils.encodeCP850DecodeUTF8(inputsWithValue.venueLocation);
jQuery("#eventInfoDesc span.fl-heading-text")[0].childNodes[0].textContent = inEventInfo.desc[0];
jQuery("#eventInfoDesc span.fl-heading-text")[0].childNodes[0].textContent = desc;
jQuery("#eventInfoLocation p")[0].childNodes[0].textContent = location;
jQuery("#eventInfoDate p")[0].childNodes[0].textContent = inEventInfo.start[0];
jQuery("#eventInfoLocation p")[0].childNodes[0].textContent = inputsWithValue.venueLocation;
jQuery("#eventInfoCapacity p")[0].childNodes[0].textContent = `Verfügbare Plätze: ${inEventInfo.seats_available} von ${inEventInfo.venue_config_capacity[0]}`;
}