habitica/views/app/alerts.html

32 lines
1.7 KiB
HTML
Raw Normal View History

<alerts:>
{#if _flash.error}
<ul class="unstyled alert alert-error">
2013-02-17 05:55:52 +00:00
{#each _flash.error as :error}<li>{:error}</li>{/}
</ul>
{/}
{#if equal(_user.flags.algosNotification,'show')}
<div class='alert alert-success'>
2013-03-04 01:59:14 +00:00
<a x-bind="click:closeAlgosNotification" class=pull-right>[x]</a>
<p>New features! Custom day start, new and better algorithms, authentication enhancements. See <a target="_blank" href="http://habitrpg.tumblr.com/post/44468869138/custom-day-start-better-algorithms-auth-enhancements">details here.</a>
2013-03-04 05:41:59 +00:00
&nbsp;"Hey, I had more Exp before this roll-out!" <a data-target="#restore-modal" data-toggle=modal>Restore your Exp here.</a></p>
</div>
2013-03-04 01:59:14 +00:00
{/}
{#if equal(_user.flags.onliesNotification, 'show')}
<div class='alert alert-success'>
<a x-bind="click:closeOnliesNotification " class=pull-right>[x]</a>
<p>
"Onlies" now gain / lose value just like other habits, and are reset back to 0 at the beginning of each day.
&nbsp;See <a target="_blank" href="https://trello.com/card/shading-onlies/50e5d3684fe3a7266b0036d6/67">details here</a>, and
&nbsp;chime in with your recommendations on this mechanic.
</p>
</div>
2013-03-04 03:06:34 +00:00
{/}
2013-03-04 01:59:14 +00:00
{#if equal(_user.flags.priorityNotification, 'show')}
2013-03-04 03:06:34 +00:00
<div class='alert alert-success'>
<a x-bind="click:closePriorityNotification" class=pull-right>[x]</a>
<p>New Feature: Priority Multiplier! You can now multiply "more important" tasks on a 1x, 1.5x, or 2x scale. <a target="_blank" href="https://trello.com/card/priority-multiplier/50e5d3684fe3a7266b0036d6/17">See details</a>.</p>
2013-03-04 03:06:34 +00:00
</div>
{/}