![quenenni](/assets/img/avatar_default.png)
- put back msgs to the debug level instead of info - remove a call to ep_etherpad-lite/node/utils/Settings as it was for a function that doesn't exist anymore - remove checked_state var for the form as I manage myself the default check for the options.
23 lines
841 B
JavaScript
23 lines
841 B
JavaScript
var eejs = require("ep_etherpad-lite/node/eejs");
|
|
|
|
exports.eejsBlock_scripts = function (hook_name, args, cb) {
|
|
args.content = args.content + eejs.require("ep_email_notifications/templates/scripts.html", {}, module);
|
|
return cb();
|
|
};
|
|
|
|
/*
|
|
exports.eejsBlock_embedPopup = function (hook_name, args, cb) {
|
|
args.content = args.content + eejs.require("ep_email_notifications/templates/embedFrame.html", {}, module);
|
|
return cb();
|
|
};
|
|
*/
|
|
|
|
exports.eejsBlock_mySettings = function (hook_name, args, cb) {
|
|
args.content = args.content + eejs.require('ep_email_notifications/templates/email_notifications_settings.ejs');
|
|
return cb();
|
|
};
|
|
|
|
exports.eejsBlock_styles = function (hook_name, args, cb) {
|
|
args.content = args.content + '<link href="../static/plugins/ep_email_notifications/static/css/email_notifications.css" rel="stylesheet">';
|
|
};
|
|
|