0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-20 22:42:53 -05:00
ghost/test/utils/fixtures/themes/members-test-theme/index.hbs
Hannah Wolfe 034f7d9a55
Renamed & cleaned up price data test theme fixture
refs: https://github.com/TryGhost/Toolbox/issues/168

- Having large theme fixtures makes tests run slower, so we're working to reduce them
- This fixture was a full copy of a very old version of Casper, but all we needed was a handful of files so that the tests can run
- This theme is also used for testing members, not just price data so I've renamed it for clarity
- The remaining files is the bare minimum we need to test these features
2022-01-24 09:55:21 +00:00

6 lines
243 B
Handlebars

<p class="number">
You can use the price data as a number and currency: {{price currency=@price.currency}}{{@price.monthly}}
</p>
<p class="with-price-helper">
You can pass price data to the price helper: {{price @price.monthly}}
</p>