contrib/opportunity: add the 'Clear' template
authorAlexis Laferrière <alexis.laf@xymus.net>
Tue, 23 Jun 2015 15:38:18 +0000 (11:38 -0400)
committerAlexis Laferrière <alexis.laf@xymus.net>
Tue, 23 Jun 2015 15:39:17 +0000 (11:39 -0400)
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>

contrib/opportunity/src/templates/languages/fr/LC_MESSAGES/meetup_creation.po
contrib/opportunity/src/templates/meetup_creation.nit

index 7b14b8d..67c7490 100644 (file)
@@ -60,6 +60,10 @@ msgstr "Thème d'opportunités"
 msgid "Apply a template"
 msgstr "Appliquer un thème"
 
+#: templates::meetup_creation 149--92:98
+msgid "Clear"
+msgstr "Vide"
+
 #: templates::meetup_creation 35--7:24
 msgid "4 kinds of pizza"
 msgstr "4 variétés de pizza"
index e85995c..11bd301 100644 (file)
@@ -146,6 +146,7 @@ function apply_template(opportunities){
 """
 
                bdy.add """
+               <li role="presentation"><a role="menuitem" tabindex="-1" onclick="apply_template([])">{{{"Clear"}}}</a></li>
                                                </ul>
                                        </div>
                                </div>