aboutsummaryrefslogtreecommitdiffstats
path: root/view/js/main.js
diff options
context:
space:
mode:
authorPaolo Tacconi <p.tacconi@giunti.it>2014-06-25 11:58:28 +0200
committerPaolo Tacconi <p.tacconi@giunti.it>2014-06-25 11:58:28 +0200
commita2629258ae325adb1f2d11d1b2ce2cc6ecef40e1 (patch)
tree86676e89973c6bc1d0c60de282c48ff896a3e5d6 /view/js/main.js
parent378aaf4a61176832f91cf8a95b3962915ee13708 (diff)
parent695afefd4b006a180fce1df2debb575cbdd0c0ea (diff)
downloadvolse-hubzilla-a2629258ae325adb1f2d11d1b2ce2cc6ecef40e1.tar.gz
volse-hubzilla-a2629258ae325adb1f2d11d1b2ce2cc6ecef40e1.tar.bz2
volse-hubzilla-a2629258ae325adb1f2d11d1b2ce2cc6ecef40e1.zip
Merge branch 'master' of https://github.com/tuscanhobbit/red
Diffstat (limited to 'view/js/main.js')
-rw-r--r--view/js/main.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/view/js/main.js b/view/js/main.js
index a7745cbaf..26cf12b47 100644
--- a/view/js/main.js
+++ b/view/js/main.js
@@ -352,18 +352,18 @@
if(data.events == 0) { data.events = ''; $('.events-update').removeClass('show') } else { $('.events-update').addClass('show') }
$('.events-update').html(data.events);
- if(data.events_today == 0) { data.events_today = ''; $('.events-today-update').removeClass('show') } else { $('.events-today-update').addClass('show') }
+ if(data.events_today == 0) { data.events_today = ''; $('.events-today-update').removeClass('show') } else { $('.events-today-update').addClass('show'); $('.events-update').html(data.events + '*'); }
$('.events-today-update').html(data.events_today);
- if(data.birthdays == 0) { data.birthdays = ''; $('.birthdays-update').removeClass('show') } else { $('.birthdays-update').addClass('show') }
+ if(data.birthdays == 0) { data.birthdays = ''; $('.birthdays-update').removeClass('show') } else { $('.birthdays-update').addClass('show'); }
$('.birthdays-update').html(data.birthdays);
- if(data.birthdays_today == 0) { data.birthdays_today = ''; $('.birthdays-today-update').removeClass('show') } else { $('.birthdays-today-update').addClass('show') }
+ if(data.birthdays_today == 0) { data.birthdays_today = ''; $('.birthdays-today-update').removeClass('show') } else { $('.birthdays-today-update').addClass('show'); $('.birthdays-update').html(data.birthdays + '*'); }
$('.birthdays-today-update').html(data.birthdays_today);
if(data.all_events == 0) { data.all_events = ''; $('.all_events-update').removeClass('show') } else { $('.all_events-update').addClass('show') }
$('.all_events-update').html(data.all_events);
- if(data.all_events_today == 0) { data.all_events_today = ''; $('.all_events-today-update').removeClass('show') } else { $('.all_events-today-update').addClass('show') }
+ if(data.all_events_today == 0) { data.all_events_today = ''; $('.all_events-today-update').removeClass('show') } else { $('.all_events-today-update').addClass('show'); $('.all_events-update').html(data.all_events + '*'); }
$('.all_events-today-update').html(data.all_events_today);
$.jGrowl.defaults.closerTemplate = '<div>[ ' + aStr['closeAll'] + ']</div>';