|
Restaurant & Veranstaltungsstätte – Wachstube in Dresden, befindet sich in Lennéstraße 9, Dresden, 01069, DE Gaststube in Dresden mit eigener Sonnenterrasse | Die Wachstube Nehmen Sie Platz in der Wachstube im Großen Garten in Dresden und genießen Sie frische Speisen in einem gemütlichen Ambiente! Wir freuen uns auf Sie. Wir suchen aktuell nach neuen engagierten Mitarbeiter:innen für unser Team. Sollten Sie Interesse haben, kontaktieren Sie uns gerne über unser Kontaktformular. Wir freuen uns!`;
let saveState = (‘1’) ? true : false;
let discard = (”) ? parseInt(”) : false;
let noteDelay = (‘300’) ? parseInt(‘300’) : false;
const options = {
id: noteId,
message: cms4Notification,
saveState,
discard,
remove: false,
focus: true,
role: “dialog”,
delay: noteDelay
};
if (notification.add.constructor.name === ‘AsyncFunction’) {
// new notification version
notification.add(options).then(() => {
if (notification.isOpen(options.id)) document.body.classList.add(‘cms4-notification-open’);
});
} else {
// old notification version
notification.add(options);
const note = document.querySelector(`#${options.id}`);
document.body.classList.toggle(“cms4-notification-open”, !note.classList.contains(“hide”));
}
// Toggles the “hasCoverImage” class based on the showImage condition.
cms4Notification.parentElement.parentElement.classList.toggle(“hasCoverImage”, showImage);
cms4Notification.parentElement.parentElement.classList.add(`size-${notificationSize}`, `background-${backgroundColor}`);
// Removes notification class and stores the content hash when the close button is clicked.
cms4Notification.parentElement.parentElement.querySelector(‘close’).addEventListener(‘click’, (event) => {
document.body.classList.remove(‘cms4-notification-open’);
storage.setItem(noteHashId, contentHash);
});
let badge = document.createElement(‘button’);
badge.setAttribute(“type”, “button”);
badge.setAttribute(“aria-label”, ‘Benachrichtigung öffnen’);
badge.setAttribute(“title”, ‘Benachrichtigung öffnen’);
badge.classList.add(‘notification-badge’);
badge.innerHTML = ”;
badge.addEventListener(‘click’, (e) => {
document.body.classList.add(‘cms4-notification-open’);
if (typeof notification.open === ‘function’) {
// cdn version
notification.open(noteId, null, 0);
} else {
// old version
cms4Notification.parentElement.parentElement.classList.remove(‘hide’);
}
});
if (window.innerHeight null;
const link = document.createElement(‘link’);
link.href = url;
link.rel = “stylesheet”;
link.addEventListener(‘load’, callback);
document.body.appendChild(link);
}
loadStylesheet(‘/modules/Notification/assets/styles.css’, e => { });
}
}
/**
* Dynamically loads a JavaScript file by appending a element to the document head.
*
* @param {string} url – The URL of the JavaScript file to load.
* @param {function} callback – A function to be executed once the script has been successfully loaded.
*/
function notificationLoadScript(url, callback)
{
var script = document.createElement(‘script’);
script.src = url;
script.type = ‘text/javascript’;
script.async = true;
script.onload = callback;
document.head.appendChild(script);
}
/**
* Dynamically loads a CSS file by appending a element to the document head.
*
* @param {string} url – The URL of the CSS file to load.
* @param {function} callback – A function to be executed once the stylesheet has been successfully loaded.
*/
function notificationLoadCSS(url, callback)
{
var link = document.createElement(‘link’);
link.href = url;
link.rel = ‘stylesheet’;
link.onload = callback;
document.head.appendChild(link);
}
/**
* Initializes localStorage with a fallback to in-memory storage.
*
* Checks if localStorage is available and sets it. If not, uses an in-memory storage.
* Sets window._storageDisabled to indicate localStorage availability.
*
* @method setUpLocalStorage
*/
function setUpLocalStorage()
{
try {
window.localStorage,
window.localStorage.setItem
window._storageDisabled = !1
return window.localStorage
} catch (e) {
let localStorage = {
_items: new Map,
setItem(e, t) {
this._items.set(e, t)
},
getItem(e) {
return this._items.has(e) ? this._items.get(e) : null
}
}
window._storageDisabled = true
console.log(
‘sessionStorage and/or localStorage not available, falling back to in-memory storage: ‘,
e
);
return localStorage;
}
}
historisches Gebäude mit Restaurant & Biergarten
Terrasse für max. 70 Personen
Zelte für 80 Personen
Selbstbedienungsplätze für 100 Personen
Minigolf im Garten
Veranstaltungsräume
Besuchen Sie uns in Dresden
Jetzt reservieren
für die Wachstube
|