From e7d7b38d5f8698d2eb6120ad5618c77b1b9dc214 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Alexis=20Laferri=C3=A8re?= Date: Tue, 23 Jun 2015 10:51:01 -0400 Subject: [PATCH] examples/xymus.net: add UQAM/LATECE specific opportunities templates MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Alexis Laferrière --- examples/nitcorn/src/xymus_net.nit | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/examples/nitcorn/src/xymus_net.nit b/examples/nitcorn/src/xymus_net.nit index 139b4e7..622d58a 100644 --- a/examples/nitcorn/src/xymus_net.nit +++ b/examples/nitcorn/src/xymus_net.nit @@ -1,6 +1,6 @@ # This file is part of NIT ( http://www.nitlanguage.org ). # -# Copyright 2014 Alexis Laferrière +# Copyright 2014-2015 Alexis Laferrière # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -128,6 +128,16 @@ redef class OpportunityPage redef var header = new OpportunityMasterHeader(new MasterHeader("opportunity", false)) end +redef class MeetupCreationPage + redef var templates do + var map = super + map["Pizzas spécial LATECE"] = ["Végétarienne", "Pepperoni", "Viandes", "Poulet BBQ"] + map["Heures de réunion à l'UQAM"] = ["7h 30", "9h", "10h 30", "12h", + "13h 30", "15h", "16h 30", "18h"] + return map + end +end + # Avoid executing when running tests if "NIT_TESTING".environ == "true" then exit 0 -- 1.7.9.5