0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-17 23:44:39 -05:00
ghost/test/unit
Rishabh Garg 2272f84cc9
Added beta {{products}} helper for tiers list on post (#13267)
refs https://github.com/TryGhost/Team/issues/1004

- adds new `{{products}}` helper behind `multipleProducts` flag
- `{{products}}` outputs a string with list of products that have access to specific post when used in a post context in theme
- outputs empty string when used out of a post context and without access to `visibility` property
- uses all available posts for a site via the global products data
- updates {{content}} helper cta to use this new helper to show list of tiers with access to post
2021-09-10 09:30:41 +05:30
..
adapters Refactored scheduling default test to use nock 2021-07-15 14:07:11 +04:00
api Fixed failing unit test 2021-08-13 10:22:11 +04:00
apps Renamed tests to .test.js & updated commands 2021-07-06 20:45:01 +01:00
data Gave Administrators permission to connect to Stripe (#13228) 2021-08-26 11:00:40 +01:00
helpers Moved labs utlity to shared 2021-07-08 09:05:41 +01:00
lib Fixed slow-running external request test 2021-07-15 15:21:33 +04:00
meta Renamed tests to .test.js & updated commands 2021-07-06 20:45:01 +01:00
models Moved default settings population test to regression suite 2021-09-01 15:23:57 +04:00
server Renamed tests to .test.js & updated commands 2021-07-06 20:45:01 +01:00
services Added beta {{products}} helper for tiers list on post (#13267) 2021-09-10 09:30:41 +05:30
shared Renamed tests to .test.js & updated commands 2021-07-06 20:45:01 +01:00
web Fixed error when requesting resize of a blank image 2021-07-07 19:11:24 +01:00