Skip to content

Commit

Permalink
FIX syntax error on themes view
Browse files Browse the repository at this point in the history
  • Loading branch information
haruka-7 committed Nov 17, 2023
1 parent c9a2d89 commit a45d7ed
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
## 1.6 - 2023/mm/dd

- FIX active tabs CSS class
- FIX syntax error on themes view

## 1.5 - 2023/11/17

Expand Down
10 changes: 5 additions & 5 deletions views/pages/themes.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,16 @@
<?php require_once 'tags/tabs.php' ?>

<div class="page grid">
<? if (!empty($themes)): ?>
<? foreach ($themes as $key => $theme): ?>
<?php if (!empty($themes)): ?>
<?php foreach ($themes as $key => $theme): ?>
<div class="col sml-12 med-3 panel text-center">
<a href="<?= $routerService->urlFor('theme', ['name' => $theme['name']]) ?>">
<div class="panel-content"><?= $theme['name'] ?></div>
</a>
</div>
<?php endforeach; ?>
<? else: ?>
<?php else: ?>
<div class="alert orange">No themes found</div>
<? endif; ?>
<?php endif; ?>
</div>
</div>
</div>

0 comments on commit a45d7ed

Please sign in to comment.