fix activities not being shown
authorMarcin Koziej <marcin.koziej@nowoczesnapolska.org.pl>
Wed, 6 Feb 2013 12:53:02 +0000 (13:53 +0100)
committerMarcin Koziej <marcin.koziej@nowoczesnapolska.org.pl>
Wed, 6 Feb 2013 12:53:02 +0000 (13:53 +0100)
librarian/pyhtml.py

index f358178..5538b7f 100644 (file)
@@ -78,10 +78,10 @@ class EduModule(Xmill):
 </div>
 """ % locals()
 
-    handle_opis = ifoption(activity=False)(tag('div', 'description'))
-    handle_wskazowki = ifoption(activity=False)(tag('div', ('hints', 'teacher')))
+    handle_opis = ifoption(activity=True)(tag('div', 'description'))
+    handle_wskazowki = ifoption(activity=True)(tag('div', ('hints', 'teacher')))
 
-    @ifoption(activity=False)
+    @ifoption(activity=True)
     @tagged('div', 'materials')
     def handle_pomoce(self, _):
         return "Pomoce: ", ""