def render_bi_groups(): bi.compile_forest(config.user_id) html.write("<ul>") for group, trees in bi.g_user_cache["forest"].items(): if len(trees) > 0: bulletlink(group, "view.py?view_name=aggr_group&aggr_group=%s" % htmllib.urlencode(group)) html.write("</ul>")
def render_bi_groups(): bi.compile_forest(config.user_id) html.write("<ul>") for group, trees in bi.g_user_cache["forest"].items(): if len(trees) > 0: bulletlink( group, "view.py?view_name=aggr_group&aggr_group=%s" % htmllib.urlencode(group)) html.write("</ul>")
def display(self): bi.compile_forest(config.user_id) htmlvar = self.htmlvars[0] html.select(htmlvar, [ ("", "") ] + [(g,g) for g in bi.g_user_cache["forest"].keys()])