fixed Umlauts in event title and location (untested), npm run dev
This commit is contained in:
@@ -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]}`;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user