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

okfn / foundation / 112
66%
master: 90%

Build:
Build:
LAST BUILD BRANCH: banner-link-styling
DEFAULT BRANCH: master
Ran 28 Feb 2014 12:39PM UTC
Jobs 1
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

pending completion
112

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

Jobs
ID Job ID Ran Files Coverage
1 112.1 28 Feb 2014 12:39PM UTC 0
65.92
Travis Job 112.1
Source Files on build 112
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #112
  • a4228db8 on github
  • Prev Build on press-releases (#109)
  • Next Build on press-releases (#115)
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