<html xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers"
      xmlns:sms="http://typo3.org/ns/SMS/SmsResponsiveImages/ViewHelpers"
      data-namespace-typo3-fluid="true">
<f:if condition="{address.position} != Notfall">
    <f:then>
        <div class="contact-card contact-card--listview">
            <f:render section="firstImage" partial="Address" arguments="{_all}" />
            <div class="contact-body">

                <div class="contact-position">{address.position}</div>
                <div class="contact-company">{address.company}</div>
                <div class="contact-name">{address.title} {address.firstName} {address.middleName} {address.lastName}</div>
                <f:render section="contact" partial="Address" arguments="{_all}"/>

            </div>
        </div>
    </f:then>
    <f:else>
        <div class="contact-card contact-card--listview contact-card--stoerung">
            <f:if condition="{address.image}">
                <div class="contact-img">
                    <f:image image="{address.firstImage}"/>
                </div>
            </f:if>
            <div class="contact-body">
                <div class="contact-name">{address.firstName} {address.lastName}</div>
                <f:render section="contact" partial="Address" arguments="{_all}"/>
                <div class="contact-description">{address.description}</div>
            </div>
        </div>
    </f:else>
</f:if>
