- rename AGENT.md to AGENTS.md
- show new meeting button only if the room parameter is not provided
This commit is contained in:
1 parent
751e3db3dd
commit
a557d76e72
2 files changed
+62
-10
No files matched your search
File renamed without changes.
+62
-10
@@ -241,7 +241,7 @@
|
||||
Open meeting
|
||||
</button>
|
||||
|
||||
<button id="createNewFromLauncherButton" class="button secondary" type="button" data-i18n="creator.createNewButton">
|
||||
<button id="createNewFromLauncherButton" class="button secondary hidden" type="button" data-i18n="creator.createNewButton">
|
||||
Create New Meeting
|
||||
</button>
|
||||
</div>
|
||||
@@ -277,12 +277,11 @@
|
||||
<!-- Windows -->
|
||||
<div id="windowsDownload" class="download hidden">
|
||||
<h2 data-i18n="downloads.windows.title">
|
||||
Jitsi Meet for Windows
|
||||
Jitsi Meet for Microsoft Windows
|
||||
</h2>
|
||||
|
||||
<p data-i18n="downloads.windows.description">
|
||||
Install the Jitsi Meet desktop client and then try opening the
|
||||
meeting again.
|
||||
Install the Jitsi Meet desktop client and then try opening the meeting again.
|
||||
</p>
|
||||
|
||||
<a id="windowsLink" class="button secondary" target="_blank" rel="noopener noreferrer" data-i18n="downloads.windows.button">
|
||||
@@ -293,12 +292,11 @@
|
||||
<!-- macOS -->
|
||||
<div id="macosDownload" class="download hidden">
|
||||
<h2 data-i18n="downloads.macos.title">
|
||||
Jitsi Meet for macOS
|
||||
Jitsi Meet for Apple macOS
|
||||
</h2>
|
||||
|
||||
<p data-i18n="downloads.macos.description">
|
||||
Install the Jitsi Meet desktop client and then try opening the
|
||||
meeting again.
|
||||
Install the Jitsi Meet desktop client and then try opening the meeting again.
|
||||
</p>
|
||||
|
||||
<a id="macosLink" class="button secondary" target="_blank" rel="noopener noreferrer" data-i18n="downloads.macos.button">
|
||||
@@ -306,7 +304,22 @@
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<!-- Linux / unbekannt -->
|
||||
<!-- Linux -->
|
||||
<div id="linuxDownload" class="download hidden">
|
||||
<h2 data-i18n="downloads.linux.title">
|
||||
Jitsi Meet for Linux
|
||||
</h2>
|
||||
|
||||
<p data-i18n="downloads.linux.description">
|
||||
Install the Jitsi Meet desktop client and then try opening the meeting again.
|
||||
</p>
|
||||
|
||||
<a id="linuxLink" class="button secondary" target="_blank" rel="noopener noreferrer" data-i18n="downloads.linux.button">
|
||||
Download Jitsi for Linux
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<!-- unknown -->
|
||||
<div id="otherDownload" class="download hidden">
|
||||
<h2 data-i18n="downloads.other.title">
|
||||
Jitsi Meet Desktop
|
||||
@@ -350,7 +363,7 @@
|
||||
</div>
|
||||
|
||||
<div style="margin-top: 24px;">
|
||||
<button id="createNewMeetingButton" class="button primary" type="button" data-i18n="creator.createNewButton">
|
||||
<button id="createNewMeetingButton" class="button primary hidden" type="button" data-i18n="creator.createNewButton">
|
||||
Create New Meeting
|
||||
</button>
|
||||
</div>
|
||||
@@ -429,7 +442,8 @@
|
||||
*/
|
||||
downloads: {
|
||||
windows: "https://github.com/jitsi/jitsi-meet-electron/releases",
|
||||
macos: "https://github.com/jitsi/jitsi-meet-electron/releases"
|
||||
macos: "https://github.com/jitsi/jitsi-meet-electron/releases",
|
||||
linux: "https://github.com/jitsi/jitsi-meet-electron/releases"
|
||||
}
|
||||
};
|
||||
|
||||
@@ -475,6 +489,13 @@
|
||||
button: "Download Jitsi for macOS"
|
||||
},
|
||||
|
||||
linux: {
|
||||
title: "Jitsi Meet for Linux",
|
||||
description:
|
||||
"Install the Jitsi Meet desktop client and then try opening the meeting again.",
|
||||
button: "Download Jitsi for Linux"
|
||||
},
|
||||
|
||||
other: {
|
||||
title: "Jitsi Meet Desktop",
|
||||
description:
|
||||
@@ -552,6 +573,13 @@
|
||||
button: "Jitsi für macOS herunterladen"
|
||||
},
|
||||
|
||||
linux: {
|
||||
title: "Jitsi Meet für Linux",
|
||||
description:
|
||||
"Installiere den Jitsi Meet Desktop-Client und versuche anschließend erneut, das Meeting zu öffnen.",
|
||||
button: "Jitsi für Linux herunterladen"
|
||||
},
|
||||
|
||||
other: {
|
||||
title: "Jitsi Meet Desktop",
|
||||
description:
|
||||
@@ -630,6 +658,13 @@
|
||||
button: "Télécharger Jitsi pour macOS"
|
||||
},
|
||||
|
||||
linux: {
|
||||
title: "Jitsi Meet pour Linux",
|
||||
description:
|
||||
"Installez le client bureau Jitsi Meet, puis essayez de rouvrir la réunion.",
|
||||
button: "Télécharger Jitsi pour Linux"
|
||||
},
|
||||
|
||||
other: {
|
||||
title: "Jitsi Meet Desktop",
|
||||
description:
|
||||
@@ -770,9 +805,11 @@
|
||||
const browserLink = document.getElementById("browserLink");
|
||||
const windowsDownload = document.getElementById("windowsDownload");
|
||||
const macosDownload = document.getElementById("macosDownload");
|
||||
const linuxDownload = document.getElementById("linuxDownload");
|
||||
const otherDownload = document.getElementById("otherDownload");
|
||||
const windowsLink = document.getElementById("windowsLink");
|
||||
const macosLink = document.getElementById("macosLink");
|
||||
const linuxLink = document.getElementById("linuxLink");
|
||||
const createNewMeetingButton = document.getElementById("createNewMeetingButton");
|
||||
const createNewFromLauncherButton = document.getElementById("createNewFromLauncherButton");
|
||||
|
||||
@@ -977,6 +1014,7 @@
|
||||
|
||||
windowsDownload.classList.add("hidden");
|
||||
macosDownload.classList.add("hidden");
|
||||
linuxDownload.classList.add("hidden");
|
||||
otherDownload.classList.add("hidden");
|
||||
|
||||
/* Windows */
|
||||
@@ -993,6 +1031,13 @@
|
||||
return;
|
||||
}
|
||||
|
||||
/* Linux */
|
||||
if (os === "linux") {
|
||||
linuxLink.href = CONFIG.downloads.linux;
|
||||
linuxDownload.classList.remove("hidden");
|
||||
return;
|
||||
}
|
||||
|
||||
/* Alles andere */
|
||||
otherDownload.classList.remove("hidden");
|
||||
}
|
||||
@@ -1295,6 +1340,8 @@ END:VCALENDAR`;
|
||||
*/
|
||||
if (!isValidRoom(room)) {
|
||||
invalidRoom.classList.remove("hidden");
|
||||
/* Show the create new meeting button when no room is specified */
|
||||
createNewMeetingButton.classList.remove("hidden");
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -1312,6 +1359,11 @@ END:VCALENDAR`;
|
||||
* Launcher anzeigen.
|
||||
*/
|
||||
launcher.classList.remove("hidden");
|
||||
|
||||
/*
|
||||
* Hide the "Create New Meeting" button when a valid room is specified
|
||||
*/
|
||||
createNewFromLauncherButton.classList.add("hidden");
|
||||
|
||||
/*
|
||||
* Debug-Informationen.
|
||||
|
||||
Reference in new issue
Block a user