Exemple #1
0
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>")
Exemple #2
0
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>")
Exemple #3
0
 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()])