[{isys_group name="tom.popup.download-center-info"}]
    <div id="news-download-center">
        <div class="modal-header">
            <h1 class="ml5">[{isys type="lang" ident="LC__DOWNLOAD_CENTER__INFO_SUBJECT"}]</h1>
            <button type="button" class="btn btn-secondary modal-close ml-auto mr15" title="[{isys type="lang" ident="LC__POPUP__CLOSE"}]" data-tooltip="1">
                <img class="fr mouse-pointer" alt="" src="[{$dir_images}]axialis/user-interface/window-control-close.svg" />
            </button>
        </div>
        <div class="modal-content">
            <div id="news-download-center-image-container">
                <div id="news-download-center-image-content">
                </div>
            </div>
            <div class="m15 p15">
                [{isys type="lang" ident="LC__DOWNLOAD_CENTER__INFO_DESCRIPTION" p_bHtmlEncode=false}]
            </div>
        </div>
        <div class="modal-footer">
            <a class="btn mr15" href="[{$downloadCenterUrl}]">
                <img src="[{$dir_images}]axialis/basic/symbol-download.svg" alt="" /><span>[{isys type="lang" ident="LC__DOWNLOAD_CENTER"}]</span>
            </a>

            <button type="button" class="btn modal-close mr15">
                <img src="[{$dir_images}]axialis/basic/symbol-cancel.svg" alt="" /><span>[{isys type="lang" ident="LC__UNIVERSAL__CLOSE"}]</span>
            </button>
        </div>
    </div>
    <style>
        [{include file=$cssPath}]
    </style>
    <script>
        (function () {
            'use strict';

            const $modal = $('news-download-center');
            let closeAndReload = false;

            $modal.on('click', '.modal-close', function () {
                if (closeAndReload) {
                    document.location.href = '[{$redirectUrl}]'
                } else {
                    Modal.close($modal.up('.modal'));
                }
            });

            $('body').fire('update:tooltips');
        })();
    </script>
[{/isys_group}]
