Ghost/core/test
Paul Adam Davis 503f359aab Add plural handlebars helper
Closes #3414

- Adds a helper which shows a select string deopending on the number of items provided

```
{{plural pagination.total empty='No posts' singular='% post' plural='% posts'}}
```
If `pagination.total` == 0, output 'No Posts'
If `pagination.total` == 1, outputs `1 Post`
If `pagination.total` ==  2 or more, outputs `2 Posts`

Credit to @sebgie for making this work.
2014-07-29 11:40:31 +01:00
..
functional Merge pull request #3430 from sebgie/refresh-token-expiry 2014-07-29 04:19:46 +01:00
integration Test for invite users error 2014-07-29 10:19:02 +01:00
unit Add plural handlebars helper 2014-07-29 11:40:31 +01:00
utils Test for invite users error 2014-07-29 10:19:02 +01:00
blanket_coverage.js Replace the old admin with the ember admin 2014-07-01 08:33:17 +01:00