{% extends "admin/change_list.html" %}
{% load i18n admin_urls static admin_list %}

{% block extrahead %}{{ block.super }}
    <script src="{% static 'fontawesomefree/js/all.min.js' %}"></script>
{% endblock %}

{% block extrastyle %}{{ block.super }}
    <link rel="stylesheet" type="text/css" href="{% static 'edc_dashboard/css/dark_mode.css' %}">
    {%  for css in edc_model_admin_css_theme_path %}
        <link rel='stylesheet' type="text/css" href='{% static css %}'>
    {% endfor %}
{% endblock %}

{% block object-tools-items %}

  {% if show_object_tools %}
    {{ block.super }}
  {% endif %}

{% endblock object-tools-items %}

{% block breadcrumbs %}{% endblock %}

{% block branding %}
  <button type="button" class="btn btn-{% if LIVE_SYSTEM and not DEBUG %}live{% else %}test{% endif %}">
    {% if LIVE_SYSTEM and not DEBUG %}{{ LIVE|title }}{% else %}{{ TEST|title }}{% endif %}
  </button>&nbsp;
  {{ protocol_name |default:project_name }}: {{ request.site.name|title }} ({{ request.site.id }}) &nbsp;
  <a href="/">{% translate 'Home' %}</a> &rsaquo;
    {% if site_url %}
        <a href="{{ site_url }}">{% translate 'Administration' %}</a>
    {% endif %}
&rsaquo; <a href="{% url 'admin:app_list' app_label=opts.app_label %}">{{ opts.app_config.verbose_name }}</a>
&rsaquo; {% if has_view_permission %}<a href="{% url opts|admin_urlname:'changelist' %}">{{ opts.verbose_name_plural|capfirst }}</a>{% else %}{{ opts.verbose_name_plural|capfirst }}{% endif %}
{% endblock %}

{% block welcome-msg %}{% endblock %}

{% block userlinks %}
  <A title="Logout" href="{% url 'edc_auth_admin:logout' %}">Logout</A>  | <strong>{{  user.get_username }}</strong>
{% endblock %}



{% block content %}
    {{ block.super }}
{% endblock content %}
