src/pyams_skin/interfaces/__init__.py
changeset 41 c2adb9c9c4f0
parent 1 7fc1c60c01eb
child 69 a361355b55c7
equal deleted inserted replaced
40:e550ff884799 41:c2adb9c9c4f0
    89 
    89 
    90 
    90 
    91 class IPageHeader(Interface):
    91 class IPageHeader(Interface):
    92     """Page header interface used by 'header' content provider"""
    92     """Page header interface used by 'header' content provider"""
    93 
    93 
    94     back_url = TextLine(title="Back URL target")
    94     back_url = TextLine(title="Back URL",
       
    95                         required=False)
       
    96 
       
    97     back_target = TextLine(title="Back URL target",
       
    98                            description="HTML target selector, or None for full page target",
       
    99                            required=False)
    95 
   100 
    96     icon_class = TextLine(title='Icon CSS class')
   101     icon_class = TextLine(title='Icon CSS class')
    97 
   102 
    98     title = TextLine(title='Page title')
   103     title = TextLine(title='Page title')
    99 
   104