<div class="square" ng-if="!mini">
    <div class="wired-zone" ng-class="{warning: alarm}">
        <div class="zone-number">{{ ::customZoneNumber }}</div>
        <div class="zone-type rielta-wired-zone">
           {{ ::channelName }}<br><span class="serial-number">{{ ::serialNumber }}</span>
        </div>
    </div>
    <div class="flash" ng-show="alarm"></div>
    <ul class="rielta-wired-zone-fault under-text multiline">
        <li ng-repeat="fault in faults">{{ fault }}</li>
    </ul>
</div>
<!-- Миниатюрная версия плашки состояния проводного датчика, появляется при установке соответствующего параметра-->
<div class="square-mini" ng-if="mini">
    <div class="wired-zone-mini" ng-class="{warning: alarm}">
        <div class="zone-identification-mini">
            <div class="zone-number-mini">{{ ::customZoneNumber }}</div>
            <div class="zone-type-mini rielta-wired-zone-mini">
                {{ ::channelName }}
                <span class="serial-number">{{ ::serialNumber }}</span>
            </div>
        </div>
        <div class="rielta-wired-zone-fault-mini under-text-mini">
            <div ng-repeat="fault in faults" class="fault-item-mini">{{ fault }}</div>
        </div>
    </div>
    <div class="flash-mini" ng-show="alarm"></div>
</div>
