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 ce9c5613f46529bbb5ce5ccae6078b91e3e27f18..621049c3d505543b2fcfcbffa3fa70e3e080047b 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>