Updated to nearly fully functional. Pre-release 1. Still needs some UI changes in the slideshow and admin pages (move the save button & fix the save detection for the internship list). Customer had one more page change request which I need to re-define and handle.

This commit is contained in:
Wynne Crisman
2018-12-12 11:04:00 -08:00
parent c0e971774e
commit 3fc374eda3
108 changed files with 3472 additions and 628 deletions

View File

@@ -1,2 +1,29 @@
import './InternshipJobs.html';
import './InternshipJobs.html';
Tracker.autorun(function() {
Meteor.subscribe("Internship");
});
Template.InternshipJobs.onCreated(function() {
this.internships = Meteor.collections.Internship.find({}, {sort: {name: 1}});
});
Template.InternshipJobs.helpers({
internships: function() {
return Template.instance().internships;
}
});
Template.InternshipJobs.events({
});
Template.InternshipJob.onCreated(function() {
});
Template.InternshipJob.helpers({
internship: function() {
let id = FlowRouter.getParam('_id');
return Meteor.collections.Internship.findOne(id);
}
});
Template.InternshipJob.events({
});