Skip to content
This repository has been archived by the owner on Nov 3, 2021. It is now read-only.

Commit

Permalink
yet another helper straggler, closes #291
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffbryner committed Oct 6, 2015
1 parent f43dee6 commit 99810ad
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions meteor/app/client/alertdetails.js
Expand Up @@ -12,14 +12,16 @@ Anthony Verez averez@mozilla.com
if (Meteor.isClient) {

//alert details helpers
Template.alertdetails.thisalertevents = function () {
return alerts.findOne({'esmetadata.id': Session.get('alertID')}).events;
};
Template.alertdetails.helpers ({
thisalertevents: function () {
return alerts.findOne({'esmetadata.id': Session.get('alertID')}).events;
},

Template.alertdetails.kibanaurl = function () {
url=getSetting('kibanaURL') + '#/dashboard/script/alert.js?id=' + Session.get('alertID');
return url;
};
kibanaurl: function () {
url=getSetting('kibanaURL') + '#/dashboard/script/alert.js?id=' + Session.get('alertID');
return url;
}
});

Template.alertdetails.events({
"click .makeinvestigation": function(event, template) {
Expand Down

1 comment on commit 99810ad

@jeffbryner
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

actually, closes #290

Please sign in to comment.