diff roundup/cgi/templating.py @ 4466:f1fe6fd0aa61

Multilinks can be filtered by combining elements with AND, OR and NOT now. A javascript gui was added for "keywords", see issue2550648. Developed by Sascha Teichmann; funded by Intevation. (Bernhard Reiter)
author Bernhard Reiter <Bernhard.Reiter@intevation.de>
date Mon, 08 Nov 2010 16:21:02 +0000
parents 1bd86e82422b
children 9bbf3758c16a
line wrap: on
line diff
--- a/roundup/cgi/templating.py	Fri Nov 05 13:17:18 2010 +0000
+++ b/roundup/cgi/templating.py	Mon Nov 08 16:21:02 2010 +0000
@@ -27,6 +27,8 @@
 from roundup import i18n
 from roundup.i18n import _
 
+from KeywordsExpr import render_keywords_expression_editor
+
 try:
     import cPickle as pickle
 except ImportError:
@@ -2863,6 +2865,9 @@
             raise AttributeError, name
         return self.client.instance.templating_utils[name]
 
+    def keywords_expressions(self, request):
+        return render_keywords_expression_editor(request)
+
     def html_calendar(self, request):
         """Generate a HTML calendar.
 

Roundup Issue Tracker: http://roundup-tracker.org/