{% extends "admin/change_list.html" %}

{% block object-tools %}
    <ul class="object-tools">
        <li>
            <a href="dashboard/" class="viewlink" style="background: #28a745; color: white;">
                📊 Dashboard
            </a>
        </li>
        <li>
            <a href="?show_preparation=1" class="viewlink">
                Orders to Prepare ({{ paid_orders_count }})
            </a>
        </li>
        {% if has_add_permission %}
            <li>
                <a href="{% url 'admin:shop_order_add' %}" class="addlink">
                    Add Order
                </a>
            </li>
        {% endif %}
    </ul>
{% endblock %}
