{extends "../window.tpl"}
{block title}
   {'infoPanel'|translate}
{/block}

{block tabs}
   {windowTab id='flapMessage'}
{/block}

{block tabsContent}
   <script>
      focusWindow();
   </script>
   <div id="flapMessage" class="tab-pane fade active in boxStatic box">
      <h4 class="h4"><span class="glyphicon glyphicon-warning-sign"></span> {"infoPanel"|translate}</h4>
      <div>
         {if $body.expiry >= $body.time}
            {'textBeforeLogout'|translate nofilter}
            <p><strong>{'loginValidTill'|translate}:&nbsp;{$body.expiry|format_date:"j.n.Y H:i:s"}</strong></p>
         {else}
            {'textAfterLogout'|translate nofilter}
            <a href="index.php" class="btn btn-primary">Znovu přihlásit</a>
         {/if}
      </div>

   </div>
{/block}
{block buttonsLeft}
   <div class="col-md-4">
   </div>
{/block}
