{if $messages|count>0}
{foreach from=$messages item=message}

{$message.message}

{/foreach}
{'general_close'|translate}
{/if}