{% load i18n %}
<!-- Demo Bar -->
<div id="layout_options">
    <a href="#" class="options-handle"><i class="fa fa-gear"></i></a>
    <h5>{% trans "Pedidos abiertos" %}</h5>
    {% if custom_orders %}
        <ul>
            {% for order in custom_orders %}
            <li><a href="{% url "admincms:edit_custom_order" order_code=order.code %}">{{ order.code }}{% if order.shipping_first_name or order.shipping_last_name %}, {{order.shipping_first_name}} {{order.shipping_last_name }}{% endif %}</a></li>
            {% endfor %}
        </ul>
    {% else %}
        <p>{% trans "No hay pedidos abiertos" %}</p>
    {% endif %}
</div>
<!-- END: Demo Bar -->
