From fa2a8fa9bd9ffbf8b7615f79e39c87b449c9c27d Mon Sep 17 00:00:00 2001 From: friendica Date: Wed, 27 Jun 2012 13:49:35 +1000 Subject: highlight js events-reminder on birthday events --- view/theme/slackr/birthdays_reminder.tpl | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'view/theme/slackr/birthdays_reminder.tpl') diff --git a/view/theme/slackr/birthdays_reminder.tpl b/view/theme/slackr/birthdays_reminder.tpl index 8b1378917..3f07b262d 100644 --- a/view/theme/slackr/birthdays_reminder.tpl +++ b/view/theme/slackr/birthdays_reminder.tpl @@ -1 +1,7 @@ - +{{ if $classtoday }} + +{{ endif }} -- cgit v1.2.3 From f995a11641a47f1351eca1fc5447ec64a9f0a2c8 Mon Sep 17 00:00:00 2001 From: friendica Date: Tue, 26 Jun 2012 21:35:03 -0700 Subject: have no idea why the if/endif macro block was getting printed and not processed. --- view/theme/slackr/birthdays_reminder.tpl | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'view/theme/slackr/birthdays_reminder.tpl') diff --git a/view/theme/slackr/birthdays_reminder.tpl b/view/theme/slackr/birthdays_reminder.tpl index 3f07b262d..4a691dea3 100644 --- a/view/theme/slackr/birthdays_reminder.tpl +++ b/view/theme/slackr/birthdays_reminder.tpl @@ -1,7 +1,5 @@ -{{ if $classtoday }} -{{ endif }} + $(document).ready(function() { + $('#events-reminder').addClass($.trim('$classtoday')); + }); + -- cgit v1.2.3 From eb3bbd9081b384d1e1e503d8019eadc9f151edeb Mon Sep 17 00:00:00 2001 From: friendica Date: Tue, 26 Jun 2012 22:32:07 -0700 Subject: insidious little parsing bug --- view/theme/slackr/birthdays_reminder.tpl | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'view/theme/slackr/birthdays_reminder.tpl') diff --git a/view/theme/slackr/birthdays_reminder.tpl b/view/theme/slackr/birthdays_reminder.tpl index 4a691dea3..1dc65295a 100644 --- a/view/theme/slackr/birthdays_reminder.tpl +++ b/view/theme/slackr/birthdays_reminder.tpl @@ -1,5 +1,8 @@ +{{ if $classtoday }} +{{ endif }} + -- cgit v1.2.3