diff options
| author | Syndamia <kamen@syndamia.com> | 2025-02-01 11:38:54 +0200 |
|---|---|---|
| committer | Syndamia <kamen@syndamia.com> | 2025-02-01 11:38:54 +0200 |
| commit | 0d87935bfd38f0cabecfaff374bd5ead221a494c (patch) | |
| tree | 2d256a4f8f5acbe907533882ecdfd704d4c643b0 /views/profile/index.php | |
| parent | 49fa0bf2aa19ca3a0fc151c68308ae7fd819710f (diff) | |
| download | nowayforward_human-0d87935bfd38f0cabecfaff374bd5ead221a494c.tar nowayforward_human-0d87935bfd38f0cabecfaff374bd5ead221a494c.tar.gz nowayforward_human-0d87935bfd38f0cabecfaff374bd5ead221a494c.zip | |
feat(views/profile): Proper list elements UI
Diffstat (limited to 'views/profile/index.php')
| -rw-r--r-- | views/profile/index.php | 12 |
1 files changed, 6 insertions, 6 deletions
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"> |
