test self.bkLinkBox_template stable
authorKatia Saurfelt <katia.saurfelt@logilab.fr>
Tue, 07 Jul 2009 11:13:09 +0200
branchstable
changeset 2323 017bc7d7552d
parent 2292 8240a7d0d52a
child 2324 810fcd045f7c
test self.bkLinkBox_template
web/views/facets.py
--- a/web/views/facets.py	Mon Jul 06 17:57:09 2009 +0200
+++ b/web/views/facets.py	Tue Jul 07 11:13:09 2009 +0200
@@ -82,7 +82,8 @@
                         widgets.append(wdg)
             if not widgets:
                 return
-            self.displayBookmarkLink(rset)
+            if self.bkLinkBox_template:
+                self.displayBookmarkLink(rset)
             w = self.w
             w(u'<form method="post" id="%sForm" cubicweb:facetargs="%s" action="">'  % (
                 divid, html_escape(dumps([divid, vid, paginate, self.facetargs()]))))