diff --git a/records.html b/records.html index 67de1fd..12b0110 100644 --- a/records.html +++ b/records.html @@ -214,7 +214,102 @@ $('#account-events').html(s); - + + var userNotice = []; + data['itemsByUser'][session.get('hash')].forEach((item)=>{ + if(!(item.state == '1')){ + userNotice.push(item); + } + }); + userNotice.reverse(); + + function notice(){ + var s = ''; + + if(!userNotice.length){ + s += ` +