Website Summary Files Commits Branches @commit @diff @stats
path: root / views / profile
diff options
context:
space:
mode:
Commit0d87935bfd38f0cabecfaff374bd5ead221a494c (patch)
Author
 Syndamia <kamen@syndamia.com>
2025-02-01 11:38:54 +0200
Committer
 Syndamia <kamen@syndamia.com>
2025-02-01 11:38:54 +0200
Files2d256a4f8f5acbe907533882ecdfd704d4c643b0 /views/profile
nowayforward_human-0d87935bfd38f0cabecfaff374bd5ead221a494c.tar
nowayforward_human-0d87935bfd38f0cabecfaff374bd5ead221a494c.tar.gz
nowayforward_human-0d87935bfd38f0cabecfaff374bd5ead221a494c.zip
Parent49fa0bf2aa19ca3a0fc151c68308ae7fd819710f (diff)
feat(views/profile): Proper list elements UI
1 files changed, 6 insertions, 6 deletions
-rw-r--r--views/profile/index.php12
diff --git a/views/profile/index.php b/views/profile/index.php
index a0ef2e7..c1e067d 100644
--- a/views/profile/index.php
+++ b/views/profile/index.php
@@ -29,12 +29,12 @@
</section>
<section id="userLists" hidden>
- <?php foreach($user->archiveLists() as $list): ?>
- <section>
- <?= $list->Name ?>
- <?= $list->Description ?>
- </section>
- <?php endforeach; ?>
+ <?php
+ foreach ($user->archiveLists() as $list) {
+ include $VIEWS_DIR . '/list/item.php';
+ }
+ include_once $VIEWS_DIR . '/list/item_show.php';
+ ?>
</section>
<script type="text/javascript">