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

mysociety / yournextrepresentative / 2662 / 3
74%
master: 51%

Build:
Build:
LAST BUILD BRANCH: liable-to-vandalism-in-db
DEFAULT BRANCH: master
Ran 28 Apr 2016 04:07PM UTC
Files 298
Run time 1min
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

28 Apr 2016 03:27PM UTC coverage: 73.606% (+0.04%) from 73.568%
2662.3

push

travis-ci

struan
Raise Elected candidates to top of page

This makes them stand out a bit more and makes it easier to see at a
glance if there is a winner and who it is.

Do this by splitting current candidates into an elected and unelected
set and then iterating over those. Also adds a convenience has_elected
variable for checking if there are any elected candidates. If not then
we don't display the Elected Candidates section at all.

This also splits out the core of the candidate list display into a
partial as we use it in both the list of elected and unelected
candidates.

Fixes #692

7117 of 9669 relevant lines covered (73.61%)

0.74 hits per line

Source Files on job 2662.3
  • Tree
  • List 0
  • Changed 5
  • Source Changed 5
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 2662
  • Travis Job 2662.3
  • 5df0e3ec on github
  • Prev Job for on 692-winner-display (#2651.3)
  • Next Job for on 692-winner-display (#2721.1)
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