{% block page_title %}{% endblock %}
{{ current_user.full_name.split()[0] }}
{% with messages = get_flashed_messages(with_categories=true) %}
{% for cat, msg in messages %}
{{ msg }}
{% endfor %}
{% endwith %}
{% if current_user.is_authenticated and current_user.is_admin %}
{% if not license.valid %}
{% if license.get('reason') == 'expired' %}
Your TechDesk license expired on {{ license.expires_at }}.
Features are restricted to Community tier.
{% elif license.get('reason') == 'no_key' %}
No license key configured. TechDesk is running in Community mode.
{% else %}
License key is invalid. TechDesk is running in Community mode.
{% endif %}
View license details →
{% elif license.days_left is not none and license.days_left < 30 %}
Your TechDesk license expires in {{ license.days_left }} day{{ 's' if license.days_left != 1 }}.
View license →
{% endif %}
{% endif %}
{% block content %}{% endblock %}