{% extends 'base.html' %} {% load static %} {% load custom_tags_and_filters %} {% block title %}{{ site_title }}{% endblock %} {% block content %}

Main dashboard

{% if user.training_required %}
Caution image

{{ facility_name }} Rules Tutorial

You must complete your {{ facility_name }} rules tutorial before you can make reservations or use {{ facility_name }} tools. Click here to begin the tutorial.

Agreement icon
{% endif %}
{% if upcoming_reservations %}

Upcoming reservations

{% endif %} {% if alerts or disabled_resources %}

Alerts & outages

{% for a in alerts %}
{% if a.title %}{{ a.title }}
{% endif %} {{ a.contents|linebreaks }}
{% endfor %} {% for r in disabled_resources %}
Resource outage: {{ r }}
{{ r.restriction_message }}
{% endfor %}
{% endif %} {% if usage_events or user.in_area or self_log_in or user.is_staff and user.charging_staff_time %}

Current {{ facility_name }} usage

{% if user.is_staff and user.charging_staff_time %}
{% with user.get_staff_charge as staff_charge %} You are currently charging staff time to {{ staff_charge.customer }} for the project named {{ staff_charge.project }} since {{ staff_charge.start }}. {% endwith %}
{% endif %} {% for usage in usage_events %}
You are using the {{ usage.tool }} for the project named {{ usage.project }} since {{ usage.start }}.
{% endfor %} {% if user.in_area %} {% with user.active_project_count as active_project_count %}
You are logged in to the {{ user.area_access_record.area }}{% if self_log_out %} (logout){% endif %}. Usage time is being billed to the project named {{ user.billing_to_project }}. {% if active_project_count > 1 %} Click here to bill to a different project at any time. {% endif %}
{% endwith %} {% endif %} {% if self_log_in %}
You are not logged in to an access controlled area. Click here to log in.
{% endif %}
{% endif %}
{% for choice in landing_page_choices %} {% if forloop.counter0|divisibleby:4 %}
{% endif %}
{{ choice.name }} icon

{{ choice.name }} {% if choice.notifications %} {% for type, count in notification_counts.items %} {% if choice.notifications == type and count %} {{ count }} {% endif %} {% endfor %} {% endif %}

{% if forloop.counter|divisibleby:4 or forloop.last %}
{% endif %} {% empty %} Welcome! This is {{ site_title }}'s landing page - the first page users see when visiting the site. There's nothing here yet...
 
{% if user.is_superuser and "django.contrib.admin"|app_installed %} Add landing page choices by navigating to
Administration -> Detailed Administration ->
Landing page choices -> Add landing page choice

 
Customize {{ site_title }} further by navigating to
Administration -> Customization {% endif %}
{% endfor %} {% endblock %} {% block extra_whitespace %}{# Hide extra whitespace #}{% endblock %}