<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">

        <div class="infos">
            <p class="list">{{'SwitchFwUpgradeImportantInformation' | translate}}
            <ul class="list">
                <li ng-if="('SwitchFwUpgradeImportantInformationText1' | translate) !== 'SwitchFwUpgradeImportantInformationText1' && ('SwitchFwUpgradeImportantInformationText1' | translate) !== ''">{{'SwitchFwUpgradeImportantInformationText1' | translate}}</li>
                <li ng-if="('SwitchFwUpgradeImportantInformationText2' | translate) !== 'SwitchFwUpgradeImportantInformationText2' && ('SwitchFwUpgradeImportantInformationText2' | translate) !== ''">{{'SwitchFwUpgradeImportantInformationText2' | translate}}</li>
                <li ng-if="('SwitchFwUpgradeImportantInformationText3' | translate) !== 'SwitchFwUpgradeImportantInformationText3' && ('SwitchFwUpgradeImportantInformationText3' | translate) !== ''">{{'SwitchFwUpgradeImportantInformationText3' | translate}}</li>
                <li ng-if="('SwitchFwUpgradeImportantInformationText4' | translate) !== 'SwitchFwUpgradeImportantInformationText4' && ('SwitchFwUpgradeImportantInformationText4' | translate) !== ''">{{'SwitchFwUpgradeImportantInformationText4' | translate}}</li>
            </ul>
            </p>
        </div>

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