예제 #1
0
파일: views.py 프로젝트: mobilipia/hue
def commonfooter(messages=None):
  """
  Returns the rendered common footer
  """
  if messages is None:
    messages = {}
  return render_to_string("common_footer.html", {'messages': messages})
예제 #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})
예제 #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
  })
예제 #4
0
파일: views.py 프로젝트: wdmchaft/hue
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
        })
예제 #5
0
파일: views.py 프로젝트: kthguru/hue
def commonfooter_iframe():
  """
  Returns the rendered common footer for iframes
  """
  return render_to_string("common_footer_iframe.html")
예제 #6
0
def commonfooter():
    """
  Returns the rendered common footer
  """
    return render_to_string("common_footer.html")