1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/piwigo_ynh.git synced 2024-09-03 20:06:03 +02:00
piwigo_ynh/sources/themes/smartpocket/template/infos_errors.tpl
2014-07-06 13:21:10 +02:00

23 lines
No EOL
680 B
Smarty

{if isset($errors)}
<div class="ui-bar ui-bar-e errors">
<h3>{'Error'|@translate}</h3>
<div><a href="#" data-role="button" data-icon="delete" data-iconpos="notext" class="close-button">Button</a></div>
<p>{'<br>'|@implode:$errors}</p>
</div>
{/if}
{if not empty($infos)}
<div class="ui-bar ui-bar-b infos">
<h3>{'Info'|@translate}</h3>
<div><a href="#" data-role="button" data-icon="delete" data-iconpos="notext" class="close-button">Button</a></div>
<p>{'<br>'|@implode:$infos}</p>
</div>
{/if}
{footer_script}{literal}
$(document).ready(function () {
$('.close-button').click(function() {
$(this).parents('.ui-bar').remove();
});
});
{/literal}{/footer_script}