git://git.onelab.eu
/
myslice.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix active tab
[myslice.git]
/
plugins
/
simplelist.py
diff --git
a/plugins/simplelist.py
b/plugins/simplelist.py
index
c16c7ea
..
cdbe540
100644
(file)
--- a/
plugins/simplelist.py
+++ b/
plugins/simplelist.py
@@
-8,13
+8,12
@@
class SimpleList (Plugin) :
def __init__ (self, list=[], with_datatables=False, **settings):
Plugin.__init__ (self, **settings)
self.list=list
def __init__ (self, list=[], with_datatables=False, **settings):
Plugin.__init__ (self, **settings)
self.list=list
- self.add_to_settings ('list')
+# don't expose this as it's big and
+# self.add_to_settings ('list')
self.with_datatables = with_datatables
self.add_to_settings ('with_datatables')
# SimpleList is useless per se anyways
self.with_datatables = with_datatables
self.add_to_settings ('with_datatables')
# SimpleList is useless per se anyways
- def title (self) : return "Title for Simple List"
-
def template_file (self): return "simplelist.html"
def requirements (self):
def template_file (self): return "simplelist.html"
def requirements (self):
@@
-24,7
+23,6
@@
class SimpleList (Plugin) :
if self.with_datatables:
reqs['js_files'].append ("datatables/js/dataTables.js")
reqs['js_files'].append ("js/with-datatables.js")
if self.with_datatables:
reqs['js_files'].append ("datatables/js/dataTables.js")
reqs['js_files'].append ("js/with-datatables.js")
- print self.classname(),reqs
return reqs
# for tests
# 'js_chunks' : "/* a javascript chunk */",
return reqs
# for tests
# 'js_chunks' : "/* a javascript chunk */",