equal
deleted
inserted
replaced
10 from time import strftime, localtime |
10 from time import strftime, localtime |
11 |
11 |
12 from logilab.mtconverter import html_escape |
12 from logilab.mtconverter import html_escape |
13 |
13 |
14 from cubicweb.selectors import none_rset, match_user_groups |
14 from cubicweb.selectors import none_rset, match_user_groups |
15 from cubicweb.common.view import StartupView |
15 from cubicweb.view import StartupView |
16 |
16 |
17 def dict_to_html(w, dict): |
17 def dict_to_html(w, dict): |
18 # XHTML doesn't allow emtpy <ul> nodes |
18 # XHTML doesn't allow emtpy <ul> nodes |
19 if dict: |
19 if dict: |
20 w(u'<ul>') |
20 w(u'<ul>') |