@register.function
@jinja2.contextfunction
def editor_page_title(context, title=None, addon=None):
 if addon:
  title = (u'%s :: %s' % (title, addon.name))
 else:
  section = _lazy('Reviewer Tools')
  title = ((u'%s :: %s' % (title, section)) if title else section)
 return page_title(context, title)

@ register . function @ jinja2 . contextfunction def editor_page_title ( context , title = None , addon = None ) : if addon : title = ( u'%s :: %s' % ( title , addon . name ) ) else : section = _lazy ( 'Reviewer Tools' ) title = ( ( u'%s :: %s' % ( title , section ) ) if title else section ) return page_title ( context , title )
wrapper for editor page titles .