• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

TryGhost / Ghost-Admin / 3108
73%
master: 70%

Build:
Build:
LAST BUILD BRANCH: 1.26.2
DEFAULT BRANCH: master
Ran 10 Oct 2017 12:25PM UTC
Jobs 1
Files 400
Run time 17s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
3108

push

travis-ci

kevinansfield
Custom Post Templates UI

refs https://github.com/TryGhost/Ghost/issues/9060, requires https://github.com/TryGhost/Ghost/pull/9073
- 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

1605 of 2477 branches covered (64.8%)

28 of 28 new or added lines in 3 files covered. (100.0%)

3836 of 5282 relevant lines covered (72.62%)

41.78 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
100.0
app/components/gh-uploader.js
1
100.0
app/routes/settings/general.js
6
100.0
app/utils/format-markdown.js
7
100.0
app/mixins/editor-base-route.js
7
100.0
app/routes/settings/tags.js
9
100.0
app/components/gh-search-input-trigger.js
10
100.0
app/models/post.js
23
100.0
app/controllers/settings/general.js
67
100.0
app/mixins/editor-base-controller.js
91
100.0
app/components/gh-markdown-editor.js
Jobs
ID Job ID Ran Files Coverage
1 3108.1 10 Oct 2017 12:25PM UTC 0
72.62
Travis Job 3108.1
Source Files on build 3108
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #3108
  • 5694dc5c on github
  • Prev Build on custom-post-templates (#3049)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc