{% load opencve_extras %} {% if vendors_dict %}
{% for vendor, products in vendors_dict.items %} {{ vendor | humanize }}{% if vendor|is_top_vendor_or_product %} {% endif %} {% if user.is_authenticated %} {% if vendors_data_dict and projects %} {% with vendor_data=vendors_data_dict|get:vendor %} {% endwith %} {% endif %} {% else %} {% endif %} {% for product in products %} {{ product | humanize }} {% with vendor_product_key=vendor|stringformat:"s"|add:"$PRODUCT$"|add:product %} {% if vendor_product_key|is_top_vendor_or_product %} {% endif %} {% endwith %} {% if user.is_authenticated %} {% if vendors_data_dict and projects %} {% with vendor_data=vendors_data_dict|get:vendor %} {% with products_dict=vendor_data.products %} {% with product_obj=products_dict|get:product %} {% endwith %} {% endwith %} {% endwith %} {% endif %} {% else %} {% endif %} {% endfor %} {% if not forloop.last %}
{% endif %} {% endfor %}
{% else %}

No data.

{% endif %}