mirror of
https://gitlab.com/bmcgonag/get_my.git
synced 2026-03-27 00:08:49 +00:00
My big initial commit to this repo and project.
This commit is contained in:
parent
750811a81f
commit
8636f8cf9b
2433 changed files with 199488 additions and 1042 deletions
|
|
@ -1,7 +1,7 @@
|
|||
import { ServiceEntities } from "../../imports/api/serviceentities";
|
||||
|
||||
|
||||
Template.dashboard.onCreated(function() {
|
||||
this.subscribe("ServiceEntities");
|
||||
|
||||
});
|
||||
|
||||
Template.dashboard.onRendered(function() {
|
||||
|
|
@ -9,11 +9,14 @@ Template.dashboard.onRendered(function() {
|
|||
});
|
||||
|
||||
Template.dashboard.helpers({
|
||||
entityCount: function() {
|
||||
return ServiceEntities.find().count();
|
||||
},
|
||||
userCount: function() {
|
||||
return Meteor.users.find().count();
|
||||
}
|
||||
});
|
||||
|
||||
Template.dashboard.events({
|
||||
|
||||
"click #usermgmtlink" (event) {
|
||||
event.preventDefault();
|
||||
FlowRouter.go('/userMgmt');
|
||||
},
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue