mirror of https://github.com/requarks/wiki
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
398 B
15 lines
398 B
8 years ago
|
#alerts
|
||
8 years ago
|
ul
|
||
|
template(v-for='aItem in children', track-by='_uid')
|
||
|
li(v-bind:class='aItem.class')
|
||
|
button(v-on:click='acknowledge(aItem._uid)')
|
||
|
strong {{ aItem.title }}
|
||
|
span {{ aItem.message }}
|
||
8 years ago
|
|
||
|
if appflash.length > 0
|
||
8 years ago
|
script(type='text/javascript').
|
||
|
var alertsData = !{JSON.stringify(appflash)};
|
||
8 years ago
|
else
|
||
8 years ago
|
script(type='text/javascript').
|
||
|
var alertsData = [];
|