Add call info under button
This commit is contained in:
parent
72c498692a
commit
77bea45245
1 changed files with 4 additions and 1 deletions
|
@ -36,11 +36,14 @@ function launchBBB($elem) {
|
||||||
|
|
||||||
function attachButton($elem) {
|
function attachButton($elem) {
|
||||||
const buttonLabel = $elem.data("label") || I18n.t("bbb.launch");
|
const buttonLabel = $elem.data("label") || I18n.t("bbb.launch");
|
||||||
|
const data = $elem.data();
|
||||||
|
|
||||||
$elem.html(
|
$elem.html(
|
||||||
`<button class='launch-bbb btn'>${iconHTML(
|
`<button class='launch-bbb btn'>${iconHTML(
|
||||||
"video"
|
"video"
|
||||||
)} ${buttonLabel}</button>`
|
)} ${buttonLabel}</button><br/>
|
||||||
|
Call URL: <a href="https://call.nolog.cz/b/${data.meetingID}">https://call.nolog.cz/b/${data.meetingID}</a><br/>
|
||||||
|
Call password: ${data.attendeePW}`
|
||||||
);
|
);
|
||||||
$elem.find("button").on("click", () => launchBBB($elem));
|
$elem.find("button").on("click", () => launchBBB($elem));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue