From: Marcin Koziej Date: Wed, 6 Feb 2013 12:53:02 +0000 (+0100) Subject: fix activities not being shown X-Git-Url: https://git.mdrn.pl/librarian.git/commitdiff_plain/6c046904bb9bbd3d7a8d0820ee971c0dc2a761ae fix activities not being shown --- diff --git a/librarian/pyhtml.py b/librarian/pyhtml.py index f358178..5538b7f 100644 --- a/librarian/pyhtml.py +++ b/librarian/pyhtml.py @@ -78,10 +78,10 @@ class EduModule(Xmill): """ % 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: ", ""