@register.function
@jinja2.contextfunction
def logs_tabnav_themes(context):
 rv = [('editors.themes.logs', 'themes', _('Reviews'))]
 if acl.action_allowed(context['request'], 'SeniorPersonasTools', 'View'):
  rv.append(('editors.themes.deleted', 'deleted', _('Deleted')))
 return rv

@ register . function @ jinja2 . contextfunction def logs_tabnav_themes ( context ) : rv = [ ( 'editors.themes.logs' , 'themes' , _ ( 'Reviews' ) ) ] if acl . action_allowed ( context [ 'request' ] , 'SeniorPersonasTools' , 'View' ) : rv . append ( ( 'editors.themes.deleted' , 'deleted' , _ ( 'Deleted' ) ) ) return rv
returns tuple of tab navigation for the log pages .