Ghost/ghost/admin/app/templates/components/infinity-loader.hbs
Kevin Ansfield c16d633d4b New content screen prototype (#503)
refs https://github.com/TryGhost/Ghost/issues/7860

- remove preview pane from content screen
- add basic post status filters
- replace custom infinite scroll with ember-infinity and increase trigger threshold for improved scroll behaviour

Commits:
* basic content list + filter using existing infinite scroll and pagination
* swap our custom pagination + infinite loader for `ember-infinity`
* minor cleanups
* reset scroll position when changing filter
* fix tests
* remove client-side sorting step as we no longer have a live collection
* remove unused `mobile-index-route`
* add acceptance tests for content screen filters
2017-01-25 21:05:28 +01:00

9 lines
162 B
Handlebars

{{#if hasBlock}}
{{yield}}
{{else}}
{{#if infinityModel.reachedInfinity}}
{{else}}
<div class="gh-loading-spinner"></div>
{{/if}}
{{/if}}