Adds links to Jitsi platforms in new window

main
Yasen Pramatarov 2024-10-31 15:44:10 +02:00
parent 7d845b7998
commit 7841b13fd8
1 changed files with 7 additions and 0 deletions

View File

@ -29,7 +29,14 @@
<?= htmlspecialchars($key) ?>: <?= htmlspecialchars($key) ?>:
</div> </div>
<div class="col-md-8 text-start"> <div class="col-md-8 text-start">
<?php if ($key === 'jitsi_url') { ?>
<a href="<?= htmlspecialchars($value) ?>" target="_blank" rel="noopener noreferrer" data-toggle="tooltip" data-placement="right" data-offset="30.0" title="open the Jitsi Meet platform in a new window">
<?= htmlspecialchars($value) ?>
<i class="fas fa-external-link-alt"></i>
</a>
<?php } else { ?>
<?= htmlspecialchars($value) ?> <?= htmlspecialchars($value) ?>
<?php } ?>
</div> </div>
</div> </div>
<?php } ?> <?php } ?>