aboutsummaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
authorSyndamia <kamen@syndamia.com>2025-02-01 09:13:33 +0200
committerSyndamia <kamen@syndamia.com>2025-02-01 09:13:33 +0200
commitd0c76376fd736a84c7824d8521c5792060f69086 (patch)
tree742120b0d4b3bf6a4c0e804478fece35464f29a2 /views
parentb2ab93f9275f64fabaa6d2fd75817fe66716d9bb (diff)
downloadnowayforward_human-d0c76376fd736a84c7824d8521c5792060f69086.tar
nowayforward_human-d0c76376fd736a84c7824d8521c5792060f69086.tar.gz
nowayforward_human-d0c76376fd736a84c7824d8521c5792060f69086.zip
feat(views/list): Show all items in a list
Diffstat (limited to 'views')
-rw-r--r--views/list/index.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/views/list/index.php b/views/list/index.php
index 79402ec..9047fb3 100644
--- a/views/list/index.php
+++ b/views/list/index.php
@@ -15,6 +15,12 @@
<p><?= $list->Description ?></p>
<p><?= $author->Username ?></p>
</section>
+ <?php foreach($list->allItems() as $webpage): ?>
+ <section>
+ <?= $webpage->URL ?>
+ </section>
+ <?php endforeach; ?>
+
<?php else: ?>
<p>
List doesn't exist