def commonfooter(messages=None): """ Returns the rendered common footer """ if messages is None: messages = {} return render_to_string("common_footer.html", {'messages': messages})
def commonfooter(messages=None): """ Returns the rendered common footer """ if messages is None: messages = {} hue_settings = Settings.get_settings() return render_to_string("common_footer.html", { 'messages': messages, 'version': settings.HUE_DESKTOP_VERSION, 'collect_usage': hue_settings.collect_usage })
def commonfooter(messages=None): """ Returns the rendered common footer """ if messages is None: messages = {} hue_settings = Settings.get_settings() return render_to_string( "common_footer.html", { 'messages': messages, 'version': settings.HUE_DESKTOP_VERSION, 'collect_usage': hue_settings.collect_usage })
def commonfooter_iframe(): """ Returns the rendered common footer for iframes """ return render_to_string("common_footer_iframe.html")
def commonfooter(): """ Returns the rendered common footer """ return render_to_string("common_footer.html")