app/soc/views/helper/html_menu.py
changeset 390 d12c95ade374
parent 276 56357a92c110
child 420 22975cc1872f
equal deleted inserted replaced
389:9b873166d7d5 390:d12c95ade374
    20 __authors__ = [
    20 __authors__ = [
    21   '"Todd Larsen" <tlarsen@google.com>',
    21   '"Todd Larsen" <tlarsen@google.com>',
    22   ]
    22   ]
    23 
    23 
    24 
    24 
    25 from soc.logic import menu
       
    26 
       
    27 
       
    28 class HtmlMenu:
    25 class HtmlMenu:
    29   """Ordered collection of MenuItem objects as <p>...</p> paragraphs.
    26   """Ordered collection of MenuItem objects as <p>...</p> paragraphs.
    30   """
    27   """
    31   ITEM_PREFIX_FMT = '%(indent)s<p>'
    28   ITEM_PREFIX_FMT = '%(indent)s<p>'
    32   ITEM_SUFFIX_FMT = '%(indent)s</p>'
    29   ITEM_SUFFIX_FMT = '%(indent)s</p>'