{% extends '/admin/authenticated/layout/base.html.twig' %} {% import _self as self %} {% block title %} Dashboard {% endblock %} {% block pageTitle %} Dashboard {% endblock %} {% macro empty_indicator(exists) %} {% if exists %} {% else %} Empty {% endif %} {% endmacro %} {% block content %} {# Carousel Pages #}

Carousel Pages

About {{ self.empty_indicator(about is not empty) }}
{% if about %} View {% else %} Create page {% endif %}
Team: {{ teamMembersCount }} {{ self.empty_indicator(teamMembersCount) }}
{% if teamMembersCount %} View Members {% else %} Create Member {% endif %}
Services: {{ servicesCount }} {{ self.empty_indicator(servicesCount) }}
{% if servicesCount %} View Services {% else %} Create Service {% endif %}
Resources: {{ resourcesCount }} {{ self.empty_indicator(resourcesCount) }}
{% if resourcesCount %} View Resources {% else %} Create Resource {% endif %}
Startups: {{ startupsCount }} {{ self.empty_indicator(startupsCount) }}
{% if startupsCount %} View Startups {% else %} Create Startup {% endif %}
{# ContactUs #}

Messaging

Type New Totals
Inquiries {{ countNewInquiries }} {{ countAllInquiries }}
Launching {{ countNewLaunching }} {{ countAllLaunching }}
Resumes {{ countNewResumes }} {{ countAllResumes }}
Sponsorships {{ countNewSponsorships }} {{ countAllSponsorships }}
TOTALS {{ countNewInquiries + countNewLaunching + countNewResumes + countNewSponsorships }} {{ countAllInquiries + countAllLaunching + countAllResumes + countAllSponsorships }}
{# Settings #}

Settings

Users: {{ usersCount }} {{ self.empty_indicator(usersCount) }}
{% if usersCount %} View users {% else %} Create user {% endif %}
{% endblock %}