{**
 * Copyright (C) 2017-2024 thirty bees
 *
 * NOTICE OF LICENSE
 *
 * This source file is subject to the Academic Free License (AFL 3.0)
 * that is bundled with this package in the file LICENSE.md.
 * It is also available through the world-wide-web at this URL:
 * https://opensource.org/licenses/afl-3.0.php
 * If you did not receive a copy of the license and are unable to
 * obtain it through the world-wide-web, please send an email
 * to license@thirtybees.com so we can send you a copy immediately.
 *
 * @author    thirty bees <modules@thirtybees.com>
 * @copyright 2017-2024 thirty bees
 * @license   Academic Free License (AFL 3.0)
 *}
<div>
  <div class="panel" id="new-version-block">
    <div class="panel-heading">
      {l s='New version available!' mod='coreupdater'}
    </div>
    <div class="alert alert-warning">
      <h4>{l s='New module version is available' mod='coreupdater'}</h4>
      <p>
        {l s='You are using outdated version [1]%s[/1] of Core Updater module.' mod='coreupdater' sprintf=[$currentVersion] tags=['<b>']}
      </p>
      <p>
        {l s='While this version is still supported by thirty bees API server, it is highly recommended to update to the latest version [1]%s[/1]' mod='coreupdater' sprintf=[$latestVersion] tags=['<b>']}
      </p>
    </div>
    <div>
      <a class="btn btn-primary" href="https://github.com/thirtybees/coreupdater/releases/download/{$latestVersion}/coreupdater-v{$latestVersion}.zip">
        {l s='Download new version' mod='coreupdater'}
      </a>
    </div>
  </div>
</div>
