ent %}
{% block scripts %}
    <script>
    document.addEventListener('DOMContentLoaded', function() {
        // Get data from Django template variables
        const statsData = {
            users: {
                active: {{ stats.users.active|default:0 }},
                totalAllTime: {{ stats.users.total_all_time|default:0 }}
            },
            issues: {
                open: {{ stats.issues.open|default:0 }},
                totalAllTime: {{ stats.issues.total_all_time|default:0 }}
        