{if $error}
    <div class="alert alert-danger alert-dismissible" role="alert">
        <button onclick="parent.contentTabs.remove(parent.contentTabs.getActiveTab())" type="button" class="close" data-dismiss="alert"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>
        {foreach name=aussen item=error_data from=$error}
            <p class="item"><span class="glyphicon glyphicon-exclamation-sign"></span>&nbsp;&nbsp;{$error_data.info_message}</p>
        {/foreach}
    </div>
{/if}

{if $warning}
    <div class="alert alert-warning alert-dismissible" role="alert">
        <button onclick="parent.contentTabs.remove(parent.contentTabs.getActiveTab())" type="button" class="close" data-dismiss="alert"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>
        {foreach name=aussen item=warning_data from=$warning}
            <p class="item"><span class="glyphicon glyphicon-bullhorn"></span>&nbsp;&nbsp;{$warning_data.info_message}</p>
        {/foreach}
    </div>
{/if}

{if $success}
    <div class="alert alert-success alert-dismissible" role="alert">
        <button onclick="parent.contentTabs.remove(parent.contentTabs.getActiveTab())" type="button" class="close" data-dismiss="alert"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>
        {foreach name=aussen item=success_data from=$success}
            <p class="item"><span class="glyphicon glyphicon-ok"></span>&nbsp;&nbsp;{$success_data.info_message}</p>
        {/foreach}
    </div>
{/if}

{if $info}
    <div class="alert alert-info alert-dismissible" role="alert">
        <button onclick="parent.contentTabs.remove(parent.contentTabs.getActiveTab())" type="button" class="close" data-dismiss="alert"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>
	    {foreach name=aussen item=info_data from=$info}
            <p class="item"><span class="glyphicon glyphicon-pushpin"></span>&nbsp;&nbsp;{$info_data.info_message}</p>
	    {/foreach}
    </div>
{/if}