diff --git a/labs/meteor-client/client/globals.coffee b/labs/meteor-client/client/globals.coffee index 822dfaf342..1d088a000d 100755 --- a/labs/meteor-client/client/globals.coffee +++ b/labs/meteor-client/client/globals.coffee @@ -57,6 +57,9 @@ Handlebars.registerHelper "colourToHex", (value) => Handlebars.registerHelper 'equals', (a, b) -> # equals operator was dropped in Meteor's migration from Handlebars to Spacebars a is b +Handlebars.registerHelper "getCurrentMeeting", -> + Meteor.Meetings.findOne() + Handlebars.registerHelper "getCurrentSlide", -> currentPresentation = Meteor.Presentations.findOne({"presentation.current": true}) presentationId = currentPresentation?.presentation?.id diff --git a/labs/meteor-client/client/main.html b/labs/meteor-client/client/main.html index 73500b4e0e..77b9518e9b 100755 --- a/labs/meteor-client/client/main.html +++ b/labs/meteor-client/client/main.html @@ -94,9 +94,13 @@