<commit_before>{% load i18n %}
{% load static %}

<li class="media">
  <span class="pull-left">
    {#<img class="media-object img-thumbnail" src="{% get_media_prefix %}{{product.main_image}}" style="width:35px; height:35px"/>#}
    <img class="media-object img-thumbnail" style="width:35px; height:35px"/>
  </span>
  <div class="media-body">
    <a class="btn {% if selected_product == product %}active btn-primary{% endif %}" href="{% if view == "list" %}{% url "catalog_list_product_id_page" product.id 1 %}{% else %}{% url "catalog_grid_product_id_page" product.id 1 %}{% endif %}">{{ product }}</a>
    {% if products %}
      <ul class="media-list" style="margin-top:10px">
	{% for sub_product, sub_products in products.items %}
	  {% with product=sub_product products=sub_products template_name="suppliers/products_tree.html" %}
            {% include template_name %}
	  {% endwith %}
	{% endfor %}
      </ul>
    {% endif %}
  </div><commit_msg>* #291<commit_after>{% load i18n %}
{% load static %}

<li class="media">
  <span class="pull-left">
    <img class="media-object img-thumbnail" src="{% get_media_prefix %}{{product.main_image}}" style="width:35px; height:35px"/>
    {#<img class="media-object img-thumbnail" style="width:35px; height:35px"/>#}
  </span>
  <div class="media-body">
    <a class="btn {% if selected_product == product %}active btn-primary{% endif %}" href="{% if view == "list" %}{% url "catalog_list_product_id_page" product.id 1 %}{% else %}{% url "catalog_grid_product_id_page" product.id 1 %}{% endif %}">{{ product }}</a>
    {% if products %}
      <ul class="media-list" style="margin-top:10px">
	{% for sub_product, sub_products in products.items %}
	  {% with product=sub_product products=sub_products template_name="suppliers/products_tree.html" %}
            {% include template_name %}
	  {% endwith %}
	{% endfor %}
      </ul>
    {% endif %}
  </div>
{'fraction_non_alphanumeric': 0.1952755905511811, 'fraction_numerical': 0.01627296587926509, 'mean_word_length': 4.353932584269663, 'pattern_counts': {'":': 0, '<': 25, '<?xml version=': 0, '>': 25, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5388727', 'n_tokens_mistral': 708, 'n_tokens_neox': 633, 'n_words': 140}