Example #1
0
def commonfooter(messages=None):
  """
  Returns the rendered common footer
  """
  if messages is None:
    messages = {}
  return render_to_string("common_footer.html", {'messages': messages})
Example #2
0
def commonfooter(messages=None):
    """
  Returns the rendered common footer
  """
    if messages is None:
        messages = {}
    return render_to_string("common_footer.html", {'messages': messages})
Example #3
0
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
  })
Example #4
0
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
        })
Example #5
0
File: views.py Project: kthguru/hue
def commonfooter_iframe():
  """
  Returns the rendered common footer for iframes
  """
  return render_to_string("common_footer_iframe.html")
Example #6
0
def commonfooter():
    """
  Returns the rendered common footer
  """
    return render_to_string("common_footer.html")