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

rkhleics / wagtailmenus / 75
100%

Build:
DEFAULT BRANCH: master
Ran 22 Sep 2016 10:34AM UTC
Jobs 7
Files 40
Run time 2min
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
75

push

travis-ci

web-flow
Add support for a `has_submenu_items` methods on custom page types (#35)

* Tidied managers.py and fetch 'link_page__content_type' for menu items
* Accept 'original_menu_tag' in 'prime_menu_items' and use it an attempt to find and call 'has_submenu_items' method on a specific page object, before resorting to the default 'count children in menu' check
* Added the 'has_submenu_items' method to `MenuPage` so there's something there to extend. It's slightly worse performance-wise, but it makes things far easier to understand, override and explain with examples.
* When priming menu items, always replace 'MenuItem.link_page' with the page object we have after other operations. If we can return a specific page with no additional overhead, we should
* Added new section to `README.md` to discuss `modify_submenu_items` and `has_submenu_items` customisation in more depth

821 of 824 relevant lines covered (99.64%)

6.97 hits per line

Jobs
ID Job ID Ran Files Coverage
1 75.1 (TOXENV=py27-dj18-wt15) 22 Sep 2016 10:34AM UTC 0
99.64
Travis Job 75.1
2 75.2 (TOXENV=py33-dj18-wt15) 22 Sep 2016 10:34AM UTC 0
99.64
Travis Job 75.2
3 75.3 (TOXENV=py34-dj18-wt15) 22 Sep 2016 10:34AM UTC 0
99.64
Travis Job 75.3
4 75.4 (TOXENV=py35-dj18-wt15) 22 Sep 2016 10:34AM UTC 0
99.64
Travis Job 75.4
5 75.5 (TOXENV=py35-dj19-wt15) 22 Sep 2016 10:34AM UTC 0
99.64
Travis Job 75.5
6 75.6 (TOXENV=py35-dj19-wt16) 22 Sep 2016 10:36AM UTC 0
99.64
Travis Job 75.6
7 75.7 (TOXENV=py35-dj110-wt16) 22 Sep 2016 10:36AM UTC 0
99.64
Travis Job 75.7
Source Files on build 75
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #75
  • c627e61b on github
  • Prev Build on master (#68)
  • Next Build on master (#76)
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