{% extends "admin/base_site.html" %} {% load i18n static admin_extras tz %} {% block extrastyle %} {{ block.super }} {% endblock %} {% block coltype %}colM{% endblock %} {% block bodyclass %}{{ block.super }} dashboard{% endblock %} {% block content_title %} {% admin_can_send_email as admin_email_configured %} {% if user.is_superuser and not admin_email_configured %} {% url 'admin:teams_emailoutbox_add' as email_outbox_add_url %} {% endif %} {% last_net_message as admin_last_net_message %}

Home

{% translate 'Net message' %} {% if admin_last_net_message.has_content %}{{ admin_last_net_message.text }}{% else %}{% translate 'No net messages available' %}{% endif %}
{% translate 'Seed Data' %} {% translate 'User Data' %} {% translate 'System Reports' %} {% translate 'Environment' %} {% translate 'Django Config' %} {% translate 'Sigil Builder' %} {% if user.is_superuser %} {% translate 'Run Command' %} {% endif %} {% translate 'Log Viewer' %}
{% endblock %} {% block nav-breadcrumbs %}{% endblock %} {% block nav-sidebar %}{% endblock %} {% block content %}
{% include "admin/dashboard_app_list.html" with app_list=app_list %}
{% user_google_calendar as google_calendar %} {% if google_calendar %}

{{ google_calendar.title }}

{% if google_calendar.events %}
    {% for event in google_calendar.events %}
  • {% if event.html_link %} {{ event.summary|default:_('Untitled event') }} {% else %} {{ event.summary|default:_('Untitled event') }} {% endif %}

    {% if event.all_day %} {{ event.start|localtime|date:"DATE_FORMAT" }} {% else %} {{ event.start|localtime|date:"SHORT_DATETIME_FORMAT" }} {% endif %}

    {% if event.location %}

    {{ event.location }}

    {% endif %}
  • {% endfor %}
{% else %}

{% translate 'No upcoming events' %}

{% endif %} {% if google_calendar.calendar_url %} {% endif %}
{% endif %}

{% translate 'Public site traffic' %}

{% translate 'Recent actions' %}

{% translate 'My actions' %}

{% load log %} {% get_admin_log 10 as admin_log for_user user %} {% if not admin_log %}

{% translate 'None available' %}

{% else %}
    {% for entry in admin_log %}
  • {% if entry.is_addition %}{% translate 'Added:' %}{% elif entry.is_change %}{% translate 'Changed:' %}{% elif entry.is_deletion %}{% translate 'Deleted:' %}{% endif %} {% if entry.is_deletion or not entry.get_admin_url %} {{ entry.object_repr }} {% if entry.object_id %} ({{ entry.object_id }}) {% endif %} {% else %} {{ entry.object_repr }} {% if entry.object_id %} ({{ entry.object_id }}) {% endif %} {% endif %}
    {% if entry.content_type %} {% filter capfirst %}{{ entry.content_type.name }}{% endfilter %} {% else %} {% translate 'Unknown content' %} {% endif %} {% if entry.action_time %} {% endif %}
  • {% endfor %}
{% endif %}
{% endblock %} {% block sidebar %}{% endblock %} {% block extrahead %} {{ block.super }} {% endblock %}