<commit_before>{% extends "settings/base_template.html" %}
{% load i18n %}
{% load hq_shared_tags %}

{% block js-inline %}{{ block.super }}
    <script type="text/javascript">
        $('form#upload-products').submit(function(){
            $(this).find('button[type=submit]').attr('disabled', 'disabled');
        });
    </script>
{% endblock %}
{% block main_column %}
    <header>
        <div class="row-fluid">
            <div class="span8">
                <h2>{% trans "Import Products from Excel" %}</h2>
            </div>
        </div>
    </header>

    <ol>
        <li>
            {% trans "Download your current product data: " %}<a href="{% url "product_export" domain %}">{% trans "Products.xlsx" %}</a>
        </li>
        <li>
            {% trans "Update it with the changes you want to make" %}
        </li>
        <li>
            {% trans "To speed up the process, you can remove rows you aren't modifying" %}
        </li>
        <li><commit_msg>change file extension to csv<commit_after>{% extends "settings/base_template.html" %}
{% load i18n %}
{% load hq_shared_tags %}

{% block js-inline %}{{ block.super }}
    <script type="text/javascript">
        $('form#upload-products').submit(function(){
            $(this).find('button[type=submit]').attr('disabled', 'disabled');
        });
    </script>
{% endblock %}
{% block main_column %}
    <header>
        <div class="row-fluid">
            <div class="span8">
                <h2>{% trans "Import Products from Excel" %}</h2>
            </div>
        </div>
    </header>

    <ol>
        <li>
            {% trans "Download your current product data: " %}<a href="{% url "product_export" domain %}">{% trans "Products.csv" %}</a>
        </li>
        <li>
            {% trans "Update it with the changes you want to make" %}
        </li>
        <li>
            {% trans "To speed up the process, you can remove rows you aren't modifying" %}
        </li>
        <li>
{'fraction_non_alphanumeric': 0.17748478701825557, 'fraction_numerical': 0.005070993914807302, 'mean_word_length': 2.097331240188383, 'pattern_counts': {'":': 0, '<': 43, '<?xml version=': 0, '>': 43, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3634274', 'n_tokens_mistral': 639, 'n_tokens_neox': 583, 'n_words': 161}