{% load static %}
{% block head %}{% endblock %}
{% block pagetitle %}Eureka Scopeserver{% endblock %}
{% if user.is_authenticated %} Welcome {{ user.username }}
Logout
{% else %}
Login
{% endif %}
{% block sidebar %}
Home
{% url 'gatekeeper:index' as gatekeeper %} {% if gatekeeper %} {% if user.is_staff or user.collection_set.all.count %}
Gatekeeper
{% endif %} {% endif %} {% url 'cocktail:index' as cocktail %} {% if cocktail %} {% if user.is_staff or user.cocktailbase_set.all.count %}
Cocktail
{% endif %} {% endif %} {% url 'metadata:index' as metadata %} {% if metadata %} {% if user.is_staff or user.metadatacollection_set.all.count %}
Metadata
{% endif %} {% endif %} {% url 'flickr:index' as flickr %} {% if flickr %} {% if user.is_staff or perms.flickr.search %}
Flickr
{% endif %} {% endif %} {% url 'mirage:index' as mirage %} {% if mirage %} {% if user.is_staff or perms.mirage.search %}
Mirage
{% endif %} {% endif %} {% url 'gigapan:index' as gigapan %} {% if gigapan %} {% if user.is_staff or perms.gigapan.search %}
GigaPan
{% endif %} {% endif %} {% if user.is_staff %}
Admin
{% endif %}
{% endblock %}
{% block content %}{% endblock %}
{% block extra_scripts %}{% endblock %}