{% extends "base_authenticated.html" %} {% block title %}{{ project.name }} - QR Codes{% endblock %} {% block extra_head %} {% endblock %} {% block content %}

{{ project.name }}

{% if project.description %}

{{ project.description }}

{% endif %}
Back to Dashboard
{{ qr_codes|length }} Total QR Codes
{{ qr_codes|selectattr('active_status', 'equalto', True)|list|length }} Active
{{ qr_codes|selectattr('active_status', 'equalto', False)|list|length }} Inactive
{% if search_name or search_status %} Clear {% endif %}
{% if search_name or search_status %}
Showing filtered results {% if search_name %} - Name: "{{ search_name }}"{% endif %} {% if search_status %} - Status: {{ search_status|title }}{% endif %} ({{ qr_codes|length }} QR code{{ 's' if qr_codes|length != 1 else '' }} found) Clear Filters
{% endif %} {% if qr_codes %}
{% for qr in qr_codes %}
QR Code for {{ qr.name }}

{{ qr.name }}

{{ qr.location }}
{% if qr.location_address %}
{{ qr.location_address }}
{% endif %}
{{ get_qr_code_checkin_count(qr.id) }} check-ins
{% if qr.qr_url %}
{{ qr.qr_url[:50] }}{% if qr.qr_url|length > 50 %}...{% endif %}
{% endif %} {{ 'Active' if qr.active_status else 'Inactive' }}
{% if session.role == 'admin' %} {% endif %}
{% endfor %}
{% else %}
{% if search_name or search_status %}

No Matching QR Codes

No QR codes in this project match your search criteria. {% if search_name %}Try a different name{% endif %} {% if search_name and search_status %} or {% endif %} {% if search_status %}try changing the status filter{% endif %}.

Clear Filters {% else %}

No QR Codes Found

This project doesn't have any QR codes yet.

{% if session.role == 'admin' %} Create QR Code {% endif %} {% endif %}
{% endif %}
{% endblock %} {% block extra_scripts %} {% endblock %}