diff --git a/routes/PlaceConfirmedOrder.js b/routes/PlaceConfirmedOrder.js index a1f433b..420280e 100644 --- a/routes/PlaceConfirmedOrder.js +++ b/routes/PlaceConfirmedOrder.js @@ -107,7 +107,13 @@ return next(500); } console.log("Fuck yeah", data); - response.render("Order/success.jade"); + var params = { + event_name: req.session.eventName, + event_url: res.session.eventUrl, + header: true, + title: "Success" + }; + response.render("Order/success.jade", params); }); } diff --git a/views/Order/success.jade b/views/Order/success.jade index 3ace1a4..5825bac 100644 --- a/views/Order/success.jade +++ b/views/Order/success.jade @@ -1 +1,5 @@ -h1 Awesome. Your food will be at the meetup. +link(rel="stylesheet", href="/stylesheets/success.css") + +h2 Awesome. Your food will be at the meetup. + +p Thanks for using Meetup and Chow Down.