habitica/views/app/alerts.html

16 lines
523 B
HTML
Raw Normal View History

<newStuff:>
{#if equal(_user.flags.newStuff,'show')}
<div class='new-stuff'>
<p class='alert alert-success'>
<a href="https://github.com/lefnire/habitrpg/blob/develop/CHANGELOG.md" target="_blank">New Stuff!</a> <a x-bind="click:closeNewStuff"><i class='icon-remove'></i></a>
2013-03-04 01:59:14 +00:00
</p>
2013-03-04 01:59:14 +00:00
</div>
2013-03-04 03:06:34 +00:00
{/}
2013-03-04 01:59:14 +00:00
<flash:>
{#if _flash.error}
<ul class="unstyled alert alert-error">
{#each _flash.error as :error}<li>{:error}</li>{/}
</ul>
{/}