fix templates/*
authorJulien Moutinho <julm+ikiwiki+newevent@autogeree.net>
Thu, 27 Mar 2014 11:34:54 +0000 (12:34 +0100)
committerJulien Moutinho <julm+ikiwiki+newevent@autogeree.net>
Thu, 27 Mar 2014 11:34:54 +0000 (12:34 +0100)
templates/neweventcontent.tmpl
templates/neweventday.tmpl
templates/neweventmonth.tmpl

index 9fb7711..f986e52 100644 (file)
@@ -1,6 +1,11 @@
-[[!meta title="<TMPL_VAR TITLE>"]]
 [[!tag<TMPL_LOOP NAME="TAGS"> "<TMPL_VAR NAME>"</TMPL_LOOP>]]
 
-Description de l'évènement.
+# Où ?
 
-[[!poll 0 "j'en suis"]]
+# Quoi ?
+
+# Inscriptions
+[[!poll id=inscriptions
+ 0 "j’en suis !"
+ 0 "sans moi =("
+ ]]
index 6b137dd..0180140 100644 (file)
@@ -3,6 +3,6 @@
 
 # Évènements du jour
 [[!map
- pages="page(<TMPL_VAR BASE>/<TMPL_VAR YEAR>/<TMPL_VAR MONTH>/<TMPL_VAR DAY>/*) and !*/Discussion"
+ pages="page(./<TMPL_VAR DAY>/*) and !*/Discussion"
  show="title"
  ]]
index aa9e6ea..2b8f3d4 100644 (file)
@@ -3,7 +3,8 @@
 
 [[!calendar
  month="<TMPL_VAR MONTH>"
- pages="page(<TMPL_VAR BASE>/<TMPL_VAR YEAR>/<TMPL_VAR MONTH>/*/*) and !*/Discussion"
+ neweventbase="<TMPL_VAR BASE>"
+ pages="page(./<TMPL_VAR MONTH>/*/*) and !*/Discussion"
  popup="no"
  type="month"
  year="<TMPL_VAR YEAR>"