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

<a href="#" class="dropdown-toggle" data-toggle="dropdown" data-hover="dropdown"
   data-close-others="true">
    <i class="entypo-list"></i>
    {% if pending_tasks|length >= 1 %}
        <span class="badge badge-warning">{{ pending_tasks|length }}</span>
    {% endif %}
</a>

<ul class="dropdown-menu">

    <li class="top">
        <p>{% trans "You have" %} {{ pending_tasks|length }} {% trans "pending tasks" %}</p>
    </li>

    <li>
        <ul class="dropdown-menu-list scroller">

            {% for task in pending_tasks %}
                <li>
                    <a href="#">
				<span class="task">
					<span class="desc">{{ task.task_name }}</span>
					<span class="percent"><img src="/static/app/images/ajax-loader-small.gif"/></span>
				</span>

				<span class="progress progress-striped active">
					<span class="progress-bar progress-bar-warning progress-bar-striped" role="progressbar"
                          aria-valuenow="100"
                          aria-valuemin="0" aria-valuemax="100" style="width: 100%">
                    </span>
				</span>
                    </a>
                </li>
            {% endfor %}

            <li>
                <a href="#">
				<span class="task">
					<span class="desc">Procurement</span>
					<span class="percent">27%</span>
				</span>

				<span class="progress">
					<span style="width: 27%;" class="progress-bar progress-bar-success">
						<span class="sr-only">27% Complete</span>
					</span>
				</span>
                </a>
            </li>
            <li>
                <a href="#">
				<span class="task">
					<span class="desc">App Development</span>
					<span class="percent">83%</span>
				</span>

				<span class="progress progress-striped">
					<span style="width: 83%;" class="progress-bar progress-bar-danger">
						<span class="sr-only">83% Complete</span>
					</span>
				</span>
                </a>
            </li>
            <li>
                <a href="#">
				<span class="task">
					<span class="desc">HTML Slicing</span>
					<span class="percent">91%</span>
				</span>

				<span class="progress">
					<span style="width: 91%;" class="progress-bar progress-bar-success">
						<span class="sr-only">91% Complete</span>
					</span>
				</span>
                </a>
            </li>
            <li>
                <a href="#">
				<span class="task">
					<span class="desc">Database Repair</span>
					<span class="percent">12%</span>
				</span>

				<span class="progress progress-striped">
					<span style="width: 12%;" class="progress-bar progress-bar-warning">
						<span class="sr-only">12% Complete</span>
					</span>
				</span>
                </a>
            </li>
            <li>
                <a href="#">
				<span class="task">
					<span class="desc">Backup Create Progress</span>
					<span class="percent">54%</span>
				</span>

				<span class="progress progress-striped">
					<span style="width: 54%;" class="progress-bar progress-bar-info">
						<span class="sr-only">54% Complete</span>
					</span>
				</span>
                </a>
            </li>
            <li>
                <a href="#">
				<span class="task">
					<span class="desc">Upgrade Progress</span>
					<span class="percent">17%</span>
				</span>

				<span class="progress progress-striped">
					<span style="width: 17%;" class="progress-bar progress-bar-important">
						<span class="sr-only">17% Complete</span>
					</span>
				</span>
                </a>
            </li>
        </ul>
    </li>

    <li class="external">
        <a href="{% url 'tasks' %}">{% trans "See all tasks" %}</a>
    </li>

</ul><commit_msg>#58 Remove html template for task notifier<commit_after>{% load i18n %}
{% load form_tags %}

<a href="#" class="dropdown-toggle" data-toggle="dropdown" data-hover="dropdown"
   data-close-others="true">
    <i class="entypo-list"></i>
    {% if pending_tasks|length >= 1 %}
        <span class="badge badge-warning">{{ pending_tasks|length }}</span>
    {% endif %}
</a>

<ul class="dropdown-menu">

    <li class="top">
        <p>{% trans "You have" %} {{ pending_tasks|length }} {% trans "pending tasks" %}</p>
    </li>

    <li>
        <ul class="dropdown-menu-list scroller">

            {% for task in pending_tasks %}
                <li>
                    <a href="#">
				<span class="task">
					<span class="desc">{{ task.task_name }}</span>
					<span class="percent"><img src="/static/app/images/ajax-loader-small.gif"/></span>
				</span>

				<span class="progress progress-striped active">
					<span class="progress-bar progress-bar-warning progress-bar-striped" role="progressbar"
                          aria-valuenow="100"
                          aria-valuemin="0" aria-valuemax="100" style="width: 100%">
                    </span>
				</span>
                    </a>
                </li>
            {% endfor %}

        </ul>
    </li>

    <li class="external">
        <a href="{% url 'tasks' %}">{% trans "See all tasks" %}</a>
    </li>

</ul>
{'fraction_non_alphanumeric': 0.18968222832483328, 'fraction_numerical': 0.012553942722636328, 'mean_word_length': 1.9801285797779076, 'pattern_counts': {'":': 0, '<': 169, '<?xml version=': 0, '>': 171, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6267572', 'n_tokens_mistral': 1940, 'n_tokens_neox': 1564, 'n_words': 343}