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

romm / formz / 454
90%
master: 91%

Build:
Build:
LAST BUILD BRANCH: wip/steps
DEFAULT BRANCH: master
Ran 09 Mar 2017 12:07AM UTC
Jobs 1
Files 136
Run time 8s
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
454

push

travis-ci

web-flow
[FEATURE] Introduce `slot.has` view helper (#53)

This is a conditional view helper, used to check if a slot has been
defined in a field template. It allows changing the HTML rendering
depending on the presence of the slot.

**Example:**

```
<div class="container">
    <formz:slot.has slot="Image">
        <div class="image">
            <formz:slot.render slot="Image" />
        </div>
    </formz:slot.has>
</div>
```

`<f:then>` and `<f:else>` work too!

```
<div class="container">
    <formz:slot.has slot="Image">
        <f:then>
            <formz:slot.render slot="Image" />
        </f:then>
        <f:else>
            <img src="default-image.jpg" />
        </f:else>
    </formz:slot.has>
</div>
```

31 of 31 new or added lines in 5 files covered. (100.0%)

1946 of 2672 relevant lines covered (72.83%)

12.73 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
7
100.0
Classes/Service/ViewHelper/Legacy/Slot/OldHasViewHelper.php
Jobs
ID Job ID Ran Files Coverage
5 454.5 (TYPO3_VERSION=^7.6 COVERAGE=1) 09 Mar 2017 12:06AM UTC 0
72.83
Travis Job 454.5
Source Files on build 454
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #454
  • 85d540db on github
  • Prev Build on development (#443)
  • Next Build on development (#457)
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