[Mpuls-commits] r4014 - in base/trunk: . mpulsweb/lib

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Fri Oct 22 14:27:51 CEST 2010


Author: bh
Date: 2010-10-22 14:27:49 +0200 (Fri, 22 Oct 2010)
New Revision: 4014

Modified:
   base/trunk/ChangeLog
   base/trunk/mpulsweb/lib/helpers.py
Log:
* mpulsweb/lib/helpers.py (get_export_selector): Removed.  No
longer used.


Modified: base/trunk/ChangeLog
===================================================================
--- base/trunk/ChangeLog	2010-10-22 12:25:03 UTC (rev 4013)
+++ base/trunk/ChangeLog	2010-10-22 12:27:49 UTC (rev 4014)
@@ -1,5 +1,10 @@
 2010-10-22  Bernhard Herzog  <bh at intevation.de>
 
+	* mpulsweb/lib/helpers.py (get_export_selector): Removed.  No
+	longer used.
+
+2010-10-22  Bernhard Herzog  <bh at intevation.de>
+
 	* mpulsweb/controllers/case_bundle.py
 	(CaseBundleController.export): Bind a list of pages in the formed
 	meta tree to the template context.  Reuse that list for the

Modified: base/trunk/mpulsweb/lib/helpers.py
===================================================================
--- base/trunk/mpulsweb/lib/helpers.py	2010-10-22 12:25:03 UTC (rev 4013)
+++ base/trunk/mpulsweb/lib/helpers.py	2010-10-22 12:27:49 UTC (rev 4014)
@@ -191,21 +191,6 @@
 def get_app_title():
     return config.get('mpuls.app.title')
 
-def get_export_selector():
-    out = []
-    out.append('<ul>')
-    for i in g.formedTree.findAllByClass(PageNode):
-        if i.getName() == 'ee':
-            continue
-        out.append('<li>')
-        out.append(tag("input", type="checkbox", name="exportselection",
-                       value=i.getName(), id=i.getName()))
-        out.append(tag("label", for_=i.getName()))
-        out.append(escape(i.getDescription()))
-        out.append("</label>")
-        out.append('</li>')
-    out.append('</ul>')
-    return "".join(out)
 
 # Helper functions to get some information about the logged in user
 



More information about the Mpuls-commits mailing list