<commit_before>{% extends "mobile/base.html" %}


{% block body %}
<div data-role="page">
  <div data-role="header" data-theme="b">
    <a href="" data-icon="back" data-rel="back">Back</a>
    <h1>{{title}}</h1>
    <a href="{% url mobile_index %}" rel="external" data-role="button" data-icon="home" data-iconpos="notext">Home</a>
  </div>

  <div data-role="content">
    <ul data-role="listview" data-inset="true" class="ui-listview ui-listview-inset ui-corner-all ui-shadow" role="listbox">

      {% for activity in activities %}
        {% if activity.activity.confirm_type != "image" %}
        {% if activity.category.name|slugify == category %}
          {% if activity.is_unlock %}
            <li>
              <a href="{% url mobile_task category activity.name|slugify %}" rel="external">
            {% if activity.type != "commitment" %}
              {% if activity.is_pau %}
                {% if activity.approval.approval_status == "rejected" %}
                  <img src="/site_media/static/css/default/images/icon-exclamation2.png"  class="ui-li-icon" width="14"/>
                {% else %}
                  {% if activity.approval.approval_status == "pending" and activity.is_event_pau %}
                    <img src="/site_media/static/css/default/images/icon-exclamation2.png"  class="ui-li-icon" width="14"/>
                  {% else %}
                    <img src="/site_media/static/css/default/images/icon-done.png"  class="ui-li-icon" width="14"/> 
                  {% endif %}
                {% endif %}          {# approval_status #}

              {% endif %}
              {% else %}     else{# ------ is commitment #}             
	        {% if activity.is_pau %} commitment-pau
	          {% if activity.approval.award_date %} 
                    <img src="/site_media/static/css/default/images/icon-done.png"  class="ui-li-icon" width="14"/> 
                  {% else %}
                    {% if activity.approval.days_left <= 0 %}
                    <img src="/site_media/static/css/default/images/icon-exclamation2.png" class="ui-li-icon" width="14"/>
		    {% endif %}
                  {% endif %}
                {% endif %}
            {% endif %}
            {{activity.title}} {% if activity.approval.days_left <= 0 and activity.approval.award_date %} dac{% endif %}pau={{activity.is_pau}}{{activity.approval.award_date}}{{activity.approval.days_left}}({{activity.activity.point_value}}{{activity.commitment.point_value}} pts)
            </a>
          </li>
          {% else %}          {# if locked #}
          <li data-icon="delete"> 
            <a href="{% url mobile_task_deny category activity.slug %}" data-rel="dialog">
              <img src="/site_media/static/css/default/images/lock24.png" alt="{{activity.title}}" class="ui-li-icon"/>
              Mystery {{activity.type}}<commit_msg>removed debug messages from last commit<commit_after>{% extends "mobile/base.html" %}


{% block body %}
<div data-role="page">
  <div data-role="header" data-theme="b">
    <a href="" data-icon="back" data-rel="back">Back</a>
    <h1>{{title}}</h1>
    <a href="{% url mobile_index %}" rel="external" data-role="button" data-icon="home" data-iconpos="notext">Home</a>
  </div>

  <div data-role="content">
    <ul data-role="listview" data-inset="true" class="ui-listview ui-listview-inset ui-corner-all ui-shadow" role="listbox">

      {% for activity in activities %}
        {% if activity.activity.confirm_type != "image" %}
        {% if activity.category.name|slugify == category %}
          {% if activity.is_unlock %}
            <li>
              <a href="{% url mobile_task category activity.name|slugify %}" rel="external">
            {% if activity.type != "commitment" %}
              {% if activity.is_pau %}
                {% if activity.approval.approval_status == "rejected" %}
                  <img src="/site_media/static/css/default/images/icon-exclamation2.png"  class="ui-li-icon" width="14"/>
                {% else %}
                  {% if activity.approval.approval_status == "pending" and activity.is_event_pau %}
                    <img src="/site_media/static/css/default/images/icon-exclamation2.png"  class="ui-li-icon" width="14"/>
                  {% else %}
                    <img src="/site_media/static/css/default/images/icon-done.png"  class="ui-li-icon" width="14"/> 
                  {% endif %}
                {% endif %}          {# approval_status #}

              {% endif %}
              {% else %}     {# ------ is commitment #}             
	        {% if activity.is_pau %} 
	          {% if activity.approval.award_date %} 
                    <img src="/site_media/static/css/default/images/icon-done.png"  class="ui-li-icon" width="14"/> 
                  {% else %}
                    {% if activity.approval.days_left <= 0 %}
                    <img src="/site_media/static/css/default/images/icon-exclamation2.png" class="ui-li-icon" width="14"/>
		    {% endif %}
                  {% endif %}
                {% endif %}
            {% endif %}
            {{activity.title}} ({{activity.activity.point_value}}{{activity.commitment.point_value}} pts)
            </a>
          </li>
          {% else %}          {# if locked #}
          <li data-icon="delete"> 
            <a href="{% url mobile_task_deny category activity.slug %}" data-rel="dialog">
              <img src="/site_media/static/css/default/images/lock24.png" alt="{{activity.title}}" class="ui-li-icon"/>
              Mystery {{activity.type}}
{'fraction_non_alphanumeric': 0.17312196000720592, 'fraction_numerical': 0.0066654656818591245, 'mean_word_length': 2.0206746463547334, 'pattern_counts': {'":': 0, '<': 52, '<?xml version=': 0, '>': 49, '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': '415393', 'n_tokens_mistral': 1813, 'n_tokens_neox': 1608, 'n_words': 275}