1
0
Fork 0
mirror of https://github.com/TryGhost/Ghost-Admin.git synced 2023-12-14 02:33:04 +01:00
Ghost-Admin/tests
Kevin Ansfield 68442c5676 Custom Post Templates UI (#878)
refs https://github.com/TryGhost/Ghost/issues/9060

- add `{{gh-psm-template-select}}` component
  - allows selection of a custom template for a post if the active theme has custom templates
  - loads themes on render, only hitting the server if not already in the store
  - disables select if post slug matches a `post-*.hbs` or `page-*.hbs` template
- adds `customTemplate` attr to `Post` model
- adds `templates` attr to `Theme` model with CPs to pull out custom vs post/page override templates
- add `.gh-select.disabled` styles to make disabled selects look visually disabled
2017-10-10 14:26:19 +02:00
..
acceptance Custom Post Templates UI (#878) 2017-10-10 14:26:19 +02:00
helpers Removed defunct Ghost OAuth code (#848) 2017-09-04 21:17:04 +02:00
integration Custom Post Templates UI (#878) 2017-10-10 14:26:19 +02:00
unit Fixed missing Unsplash icons when API doesn't return an unsplash setting (#865) 2017-09-21 11:13:31 +02:00
.eslintrc.js new publish menu and date/time picker (#588) 2017-04-11 14:39:45 +01:00
index.html Fetch config from endpoint rather than meta tags (#368) 2016-10-28 14:07:50 +01:00
test-helper.js Update code to match eslint rules 2016-11-14 13:26:00 +00:00