Show in-app purchases on game details
authorChristian Weiske <cweiske@cweiske.de>
Wed, 27 May 2020 20:14:48 +0000 (22:14 +0200)
committerChristian Weiske <cweiske@cweiske.de>
Wed, 27 May 2020 20:14:48 +0000 (22:14 +0200)
data/templates/game.tpl.php

index ce9c561..621049c 100644 (file)
@@ -47,6 +47,9 @@
    </dl>
 
    <p class="description">
+    <?php if ($json->inAppPurchases): ?>
+    <strong>* Includes in-app purchases</strong><br/><br/>
+    <?php endif ?>
     <?= nl2br(htmlspecialchars($json->description)) ?>
    </p>
   </section>