
{if $openNetworkIssueCounts.open > 0 && !$hideServerAlert}
    <div class="alert alert-lagom alert-warning alert-sm network-issue-alert email-verification" style="border-bottom:0;">
        <div class="container">
            <div class="alert-body p-base">
                <div><i class="ls ls-exclamation-circle"></i>{lang key='networkIssuesAware'}</div>
                <a tabindex="0" href="{$WEB_ROOT}/serverstatus.php" class="btn btn-warning btn-sm">
                    <span class="btn-text">{lang key='learnmore'}</span>
                    <i class="far fa-arrow-right"></i>
                </a>
            </div>
            <div class="alert-actions">
                <button tabindex="0" id="btnCloseAlert" data-system-template="{$template}" class="btn btn-sm btn-icon close" type="button" aria-label="{$LANG.close}"><span class="ls ls-close"></span></button>
            </div>
        </div>
    </div>
{elseif $openNetworkIssueCounts.scheduled > 0 && !$hideServerAlert}
    <div class="alert alert-lagom alert-info alert-sm network-issue-alert email-verification" style="border-bottom:0;">
        <div class="container">
            <div class="alert-body p-base">
                <div><i class="ls ls-exclamation-circle"></i>{lang key='networkIssuesScheduled'}</div>
                <a tabindex="0" href="{$WEB_ROOT}/serverstatus.php" class="btn btn-info btn-sm">
                    <span class="btn-text">{lang key='learnmore'}</span>
                    <i class="far fa-arrow-right"></i>
                </a>
            </div>
            <div class="alert-actions">
                <button tabindex="0" id="btnCloseAlert" data-system-template="{$template}" class="btn btn-sm btn-icon close" type="button" aria-label="{$LANG.close}"><span class="ls ls-close"></span></button>
            </div>
        </div>
    </div>
{/if}