Changed Appreciation to Jr High Summer; Fixed sorting of internships such that changes get properly sorted; Added a proper date on news & notices on the home page using the page's update timestamp.

This commit is contained in:
Wynne Crisman
2019-01-07 16:53:54 -08:00
parent 0593c2421a
commit cac2ad9c41
21 changed files with 160 additions and 109 deletions

View File

@@ -7,11 +7,12 @@ Tracker.autorun(function() {
});
Template.InternshipJobs.onCreated(function() {
this.internships = Meteor.collections.Internship.find({}, {sort: {name: 1}});
//this.internships = Meteor.collections.Internship.find({}, {sort: {name: 1}});
});
Template.InternshipJobs.helpers({
internships: function() {
return Template.instance().internships;
//return Template.instance().internships;
return Meteor.collections.Internship.find({}, {sort: {name: 1}});
}
});
Template.InternshipJobs.events({