def commonfooter(request, messages=None, is_mobile=False):
 if (messages is None):
  messages = {}
 hue_settings = Settings.get_settings()
 template = 'common_footer.mako'
 if is_mobile:
  template = 'common_footer_m.mako'
 return django_mako.render_to_string(template, {'request': request, 'messages': messages, 'version': hue_version(), 'collect_usage': collect_usage(), 'tours_and_tutorials': hue_settings.tours_and_tutorials})

def commonfooter ( request , messages = None , is_mobile = False ) : if ( messages is None ) : messages = { } hue_settings = Settings . get_settings ( ) template = 'common_footer.mako' if is_mobile : template = 'common_footer_m.mako' return django_mako . render_to_string ( template , { 'request' : request , 'messages' : messages , 'version' : hue_version ( ) , 'collect_usage' : collect_usage ( ) , 'tours_and_tutorials' : hue_settings . tours_and_tutorials } )
returns the rendered common footer .