Pluggable events app for Mozilla Webmaker
Перейти к файлу
Hike Danakian ab32475789 Re-added event-description markdown filter with 'safe' to avoid double-escapes.
Relevant to bugzilla #884644 (https://bugzilla.mozilla.org/show_bug.cgi?id=884644).
2013-06-19 15:37:07 -07:00
assets/css Minor event-details sidebar style/UI tweaks. 2013-06-19 15:29:43 -07:00
config Implemented "call to action" bar at bottom of Events page. 2013-06-12 07:48:02 -07:00
controllers Created markdown template filter. 2013-06-12 18:25:15 -07:00
models Improved time fields. 2013-06-11 22:36:18 -07:00
static No Bug - Fix default zoom setting to occur inside user accepting callback 2013-06-19 16:04:59 -04:00
views/events Re-added event-description markdown filter with 'safe' to avoid double-escapes. 2013-06-19 15:37:07 -07:00
.gitignore Initial commit, converted events.webmaker.org app into plugin module. 2013-06-03 11:24:54 -07:00
README.md Minor fix to repo link in README. 2013-06-03 14:40:04 -07:00
index.js Created markdown template filter. 2013-06-12 18:25:15 -07:00
package.json 0.1.4 2013-06-19 16:05:14 -04:00
routes.js Let Owners edit their Events in details-view 2013-06-11 13:23:38 -07:00
util.js Improved time fields. 2013-06-11 22:36:18 -07:00

README.md

webmaker-events

Pluggable events app for Mozilla Webmaker

Integrating into Webmaker

Add the following line to app.js:

require("webmaker-events").init(app, nunjucksEnv);

where app is the Express app, and nunjucksEnv is to add a custom file-loader to nunjucks before calling nunjucksEnv.express(app).

To add webmaker-events to the dependency list in package.json,

"webmaker-events": "git://github.com/AmoebaConsulting/webmaker-events.git"

Take a look at AmoebaConsulting/webmaker.org#events for all the changes required to get it working with Webmaker.