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

okfn / foundation / 112 / 1
66%
master: 90%

Build:
Build:
LAST BUILD BRANCH: banner-link-styling
DEFAULT BRANCH: master
Ran 28 Feb 2014 12:39PM UTC
Files 39
Run time –
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 Feb 2014 12:25PM UTC coverage: 65.922% (+1.7%) from 64.217%
112.1

push

travis-ci

tryggvib
better_page_url_tags: Return empty string, not None

If a Page.DoesNotExist exception is raised we should set the value
as an empty string, not None so that we can just use it by doing:

    {% page_url "something" as my_url %}
    <a href="{{ my_url }}">...</a>

instead of doing:

    {% page_url "something" as my_url %}
    {% if my_url %}
    <a href="{{ my_url }}">...</a>
    {% else %}
    <a href="">...</a>
    {% endif %}

The former would create the url ``/None`` which doesn't look good.

236 of 358 relevant lines covered (65.92%)

0.66 hits per line

Source Files on job 112.1
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 112
  • Travis Job 112.1
  • a4228db8 on github
  • Prev Job for on press-releases (#109.1)
  • Next Job for on press-releases (#115.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