mirror of https://github.com/sualko/cloud_bbb
feat: show room name on join page
parent
44daf3f959
commit
b0ce8f2c5d
|
@ -92,6 +92,7 @@ class JoinController extends PublicShareController
|
|||
} elseif (empty($displayname) || strlen($displayname) < 3) {
|
||||
$apiUrl = $this->config->getAppValue($this->appName, 'api.url');
|
||||
$response = new TemplateResponse($this->appName, 'publicdisplayname', [
|
||||
'room' => $room->name,
|
||||
'wrongdisplayname' => !empty($displayname) && strlen($displayname) < 3
|
||||
], 'guest');
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
?>
|
||||
<form method="get" action="?">
|
||||
<fieldset class="warning">
|
||||
<!-- @TODO show room name -->
|
||||
<h2><?php p($_['room']) ?></h2>
|
||||
<?php if (!isset($_['wrongdisplayname']) || !$_['wrongdisplayname']): ?>
|
||||
<p><?php p($l->t('How is your name?')); ?></p>
|
||||
<?php endif; ?>
|
||||
|
|
Loading…
Reference in New Issue