examples/xymus.net: add UQAM/LATECE specific opportunities templates
authorAlexis Laferrière <alexis.laf@xymus.net>
Tue, 23 Jun 2015 14:51:01 +0000 (10:51 -0400)
committerAlexis Laferrière <alexis.laf@xymus.net>
Tue, 23 Jun 2015 15:05:20 +0000 (11:05 -0400)
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>

examples/nitcorn/src/xymus_net.nit

index 139b4e7..622d58a 100644 (file)
@@ -1,6 +1,6 @@
 # This file is part of NIT ( http://www.nitlanguage.org ).
 #
-# Copyright 2014 Alexis Laferrière <alexis.laf@xymus.net>
+# Copyright 2014-2015 Alexis Laferrière <alexis.laf@xymus.net>
 #
 # 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