<ion-view hide-back-button="true" view-title="{{'FirmwareUpgrade' | translate}}">
    <ion-nav-buttons>
    </ion-nav-buttons>

    <ion-header-bar class="bar-stable">
        <h2 class="title">{{'FirmwareUpgrade' | translate}}</h2>
    </ion-header-bar>

    <ion-content has-bouncing="false" class="static-msg notfound">

        <ng-include src="'img/exclamation.svg'"></ng-include>
        <div class="statement">
            <div class="text-center">
                <h2>{{'DownloadFirmwareFailed' | translate}}</h2>
            </div>

            <h2 class="list">{{'FirmwarePossibleReasons' | translate}}
            <ul class="list">
                <li ng-if="('SwitchFwUpgradeErrorReason1' | translate) !== 'SwitchFwUpgradeErrorReason1' && ('SwitchFwUpgradeErrorReason1' | translate) !== ''">{{'SwitchFwUpgradeErrorReason1' | translate}}</li>
                <li ng-if="('SwitchFwUpgradeErrorReason2' | translate) !== 'SwitchFwUpgradeErrorReason2' && ('SwitchFwUpgradeErrorReason2' | translate) !== ''">{{'SwitchFwUpgradeErrorReason2' | translate}}</li>
                <li ng-if="('SwitchFwUpgradeErrorReason3' | translate) !== 'SwitchFwUpgradeErrorReason3' && ('SwitchFwUpgradeErrorReason3' | translate) !== ''">{{'SwitchFwUpgradeErrorReason3' | translate}}</li>
            </ul>
                </h2>
        </div>

        <div class="buttons-block">
            <a class="button button-block button-positive" on-tap="downloadFirmware()">
                {{'TryAgain' | translate}}
            </a>
            <a class="button button-block button-negative main-color" on-tap="goToMain()">
                {{'Abort' | translate}}
            </a>
        </div>
    </ion-content>
</ion-view>