fix: [UI] invalid code in the home.php template fixed

pull/73/head
iglocska 2021-10-20 14:33:22 +02:00
parent c0e1936849
commit 879004692c
No known key found for this signature in database
GPG Key ID: BEA224F1FEF113AC
1 changed files with 3 additions and 3 deletions

View File

@ -9,7 +9,7 @@ $bookmarks = !empty($loggedUser->user_settings_by_name['ui.bookmarks']['value'])
<?= __('Bookmarks') ?> <?= __('Bookmarks') ?>
</h3> </h3>
<div class="row"> <div class="row">
<? if (!empty($bookmarks)) : ?> <?php if (!empty($bookmarks)): ?>
<ul class="col-sm-12 col-md-10 col-l-8 col-xl-8 mb-3"> <ul class="col-sm-12 col-md-10 col-l-8 col-xl-8 mb-3">
<?php foreach ($bookmarks as $bookmark) : ?> <?php foreach ($bookmarks as $bookmark) : ?>
<li class="list-group-item"> <li class="list-group-item">
@ -20,7 +20,7 @@ $bookmarks = !empty($loggedUser->user_settings_by_name['ui.bookmarks']['value'])
</li> </li>
<?php endforeach; ?> <?php endforeach; ?>
</ul> </ul>
<?php else : ?> <?php else: ?>
<p class="fw-light"><?= __('No bookmarks') ?></p> <p class="fw-light"><?= __('No bookmarks') ?></p>
<?php endif; ?> <?php endif; ?>
</div> </div>
@ -54,4 +54,4 @@ $bookmarks = !empty($loggedUser->user_settings_by_name['ui.bookmarks']['value'])
?> ?>
</div> </div>
<?php endforeach ?> <?php endforeach ?>
</div> </div>