{% extends "site_base.html" %}
{% load i18n %}
{% load staticfiles %}
{% block title %}
{% if SITE_GLOBAL_SITEPRIMARYKEYWORDS %}{% blocktrans with keys=SITE_GLOBAL_SITEPRIMARYKEYWORDS %}{{ keys }}{% endblocktrans %}: {% endif %}
{% if MODULE_CONTACTS_LABEL_PLURAL %}
{% blocktrans with label_plural=MODULE_CONTACTS_LABEL_PLURAL display_name=SITE_GLOBAL_SITEDISPLAYNAME location=SITE_GLOBAL_SITEGEOGRAPHICLOCATION %}
{{ label_plural }} for {{ display_name }} in {{ location }}
{% endblocktrans %}
{% else %}
{% blocktrans with display_name=SITE_GLOBAL_SITEDISPLAYNAME location=SITE_GLOBAL_SITEGEOGRAPHICLOCATION %}
Contacts for {{ display_name }} in {{ location }}
{% endblocktrans %}
{% endif %}
{% endblock %}
{% block extra_head %}
{{ block.super }}
{% endblock %}
{% block banner %}{% endblock %}
{% block top_bar %}
{% if request.user.is_authenticated %}
{% if request.user.is_superuser %}
{% if request.user.impersonated_user and not request.user.impersonated_user.is_superuser %}
{% if SITE_GLOBAL_SHOWANCIENTMENU %}
{% include "top_menu/user_top.html" %}
{% else %}
{% include "contacts/top_nav.html" %}
{% endif %}
{% else %}
{% if SITE_GLOBAL_SHOWANCIENTMENU %}
{% include "top_menu/admin_top.html" %}
{% else %}
{% include "contacts/top_nav.html" %}
{% endif %}
{% if request.session.theme %}
{% include "themes/theme_top.html" %}
{% endif %}
{% endif %}
{% else %}
{% if SITE_GLOBAL_SHOWANCIENTMENU %}
{% include "top_menu/user_top.html" %}
{% else %}
{% include "contacts/top_nav.html" %}
{% endif %}
{% endif %}
{% endif %}
{% endblock %}