<commit_before>{% with m.req.ua_class as uac %}
<div class="btn-group {% if dropup %}dropup{% endif %}" id="ua-select">
    <a class="btn dropdown-toggle" data-toggle="dropdown" href="#">
        {_ Mobile or desktop _}
        <span class="caret"></span>
     </a>
    <ul class="dropdown-menu">
        <li><a href="{% url ua_select ua_class='desktop' %}">{_ Desktop _} {% if uac == `desktop` %}<i class="icon-ok"></i>{% endif %}</a></li>
        <li><a href="{% url ua_select ua_class='tablet' %}">{_ Tablet _} {% if uac == `tablet` %}<i class="icon-ok"></i>{% endif %}</a></li>
        <li><a href="{% url ua_select ua_class='phone' %}">{_ Phone _} {% if uac == `phone` %}<i class="icon-ok"></i>{% endif %}</a></li>
        <li><a href="{% url ua_select ua_class='text' %}">{_ Text _} {% if uac == `text` %}<i class="icon-ok"></i>{% endif %}</a></li>
        <li><a href="{% url ua_select ua_class='automatic' %}">{_ Automatic _}</a></li>
    </ul>
</div>
{% endwith %}<commit_msg>Removed icon-ok from text, text uses its own template.<commit_after>{# ua selector for non-text devices #}
{% with m.req.ua_class as uac %}
<div class="btn-group {% if dropup %}dropup{% endif %}" id="ua-select">
    <a class="btn dropdown-toggle" data-toggle="dropdown" href="#">
        {_ Mobile or desktop _}
        <span class="caret"></span>
     </a>
    <ul class="dropdown-menu">
        <li><a href="{% url ua_select ua_class='desktop' %}">{_ Desktop _} {% if uac == `desktop` %}<i class="icon-ok"></i>{% endif %}</a></li>
        <li><a href="{% url ua_select ua_class='tablet' %}">{_ Tablet _} {% if uac == `tablet` %}<i class="icon-ok"></i>{% endif %}</a></li>
        <li><a href="{% url ua_select ua_class='phone' %}">{_ Phone _} {% if uac == `phone` %}<i class="icon-ok"></i>{% endif %}</a></li>
        <li><a href="{% url ua_select ua_class='text' %}">{_ Text _}</a></li>
        <li><a href="{% url ua_select ua_class='automatic' %}">{_ Automatic _}</a></li>
    </ul>
</div>
{% endwith %}
{'fraction_non_alphanumeric': 0.2584044154540893, 'fraction_numerical': 0.0, 'mean_word_length': 3.615740740740741, 'pattern_counts': {'":': 0, '<': 73, '<?xml version=': 0, '>': 73, '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': '2394479', 'n_tokens_mistral': 810, 'n_tokens_neox': 739, 'n_words': 181}