diff --git a/app/pages/premium/PremiumCollectionPage.php b/app/pages/premium/PremiumCollectionPage.php index 1ae459786f2e5f92a962c6793aaeec24b08e4472..e888396de4eff512164bf76cedaaf504f3c0e394 100644 --- a/app/pages/premium/PremiumCollectionPage.php +++ b/app/pages/premium/PremiumCollectionPage.php @@ -28,19 +28,21 @@ <th>Id</th> <th>Curator Collection</th> <th>Details</th> + <th>Subscribe</th> </tr> </thead> <?php $raw_data = file_get_contents('http://host.docker.internal:8040/api/curator-collection'); $data = json_decode($raw_data, true); - echo var_dump($data); + // echo var_dump($data); $collections = $data['found']; foreach ($collections as $collection) { echo "<tr>"; echo "<td>" . $collection['collectionId'] . "</td>"; echo "<td>" . $collection['createdBy'] . "</td>"; - echo '<td><a href="/premium/detail/' . $collection['collectionId'] .'">Edit</a></td>'; + echo '<td><a href="/premium/detail/' . $collection['collectionId'] .'">Details</a></td>'; + echo '<td><a href="/premium/detail/' . $collection['collectionId'] .'">Subscribe</a></td>'; echo "</tr>"; } ?>