{% extends '../base.html' %}
{% load static %}
{% block title %}Dashboard{% endblock title %}
{% block meta %}
{% endblock meta %}
{% block breadcrumbs %}
{% endblock %}
{% block body %}
{% include 'includes/toolbar.html' %}
Open Leads
{% if open_leads %}
{% for object in open_leads %}
{% include 'includes/detail_card_small.html' with url=object.get_absolute_url %}
{% endfor %}
{% else %}
There are no new leads
{% endif %}
{% if perms.crm.add_lead %}
{% url 'create-lead' as create_lead %} {% include 'includes/blue_buttons.html' with url=create_lead text='+ Add New Lead' %}
{% endif %}
Unassigned Work Orders
{% if unassigned_work_orders %}
{% for object in unassigned_work_orders %}
{% include 'includes/detail_card_small.html' with url=object.get_absolute_url %}
{% endfor %}
{% else %}
There are no unassigned work orders
{% endif %}
Open Work Orders
{% if open_work_orders %}
{% for object in open_work_orders %}
{% include 'includes/detail_card_small.html' with url=object.get_absolute_url %}
{% endfor %}
{% else %}