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

ic-labs / django-icekit / 748
74%

Build:
DEFAULT BRANCH: develop
Ran 31 Mar 2017 02:52AM UTC
Jobs 1
Files 269
Run time 12s
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
748

push

travis-ci

jmurty
Add template filter to check if Fluent Contents shared content exists

Add a new filter to check whether a `SharedContent` record exists for
the given slug name.

This makes it possible to conditionally include shared content with
surrounding markup only when the shared content item actually exits,
and avoid outputting the surrounding markup when it doesn't.

Example usage:

    {% load sharedcontent_tags icekit_tags %}

    {% if "shared-content-slug"|sharedcontent_exists %}
    <div class="surrounding-html">
        {% sharedcontent "shared-content-slug" %}
    </div>
    {% endif %}

4248 of 5851 relevant lines covered (72.6%)

0.73 hits per line

Jobs
ID Job ID Ran Files Coverage
1 748.1 31 Mar 2017 02:52AM UTC 0
72.6
Travis Job 748.1
Source Files on build 748
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #748
  • 5d295228 on github
  • Prev Build on develop (#742)
  • Next Build on develop (#753)
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