<commit_before><section class="main">
  {% if user.logged_in() %}
    {% if user.get_permission('stats') %}
    <div class="page-container-app">
      <div class="apps">
        <div class="dashboard-summary-metrics">
          <div class="head head-rightmost">
            <div class="total-val installs"></div>
            <div class="tiny">{{ _('App Installations') }}</div>
          </div>
          <div class="head">
            <div id="developers">{{ _('N/A') }}</div>
            <div class="tiny">{{ _('Developers') }}</div>
          </div>
          <div class="head">
            <div id="transactions">{{ _('N/A') }}</div>
            <div class="tiny">{{ _('Transactions') }}</div>
          </div>
          <div class="head">
            <div id="revenue">{{ _('N/A') }}</div>
            <div class="tiny">{{ _('Net payments') }} (<span class="currency">{{ _('USD') }}</span>)</div>
          </div>
        </div>
      </div>

      <div class="dashboard-controls"></div>

      <ul class="dashboard c">
        <li>
          <a href="{{ url('total_developers') }}" data-src="total_developers">
            <span>{{ _('Developers') }}</span>
          </a>
        </li>
        <li>
          <a href="{{ url('total_visits') }}" data-src="total_visits">
            <span>{{ _('Visits') }}</span>
          </a>
        </li>
        <li>
          <a href="{{ url('apps_added') }}" data-src="apps_added">
            <span>{{ _('New Apps by Payment Type') }}</span>
          </a>
        </li>
        <li>
          <a href="{{ url('apps_by_type') }}" data-src="apps_by_type">
            <span>{{ _('New Apps by App Type') }}</span>
          </a>
        </li>
        <li>
          <a href="{{ url('apps_available_by_premium') }}" data-src="apps_available_by_premium">
            <span>{{ _('Apps by Payment Type') }}</span>
          </a>
        </li>
        <li>
          <a href="{{ url('apps_available_by_type') }}" data-src="apps_available_by_type">
            <span>{{ _('Apps by App Type') }}</span>
          </a>
        </li>
        <li>
          <a href="{{ url('apps_installed') }}" data-src="apps_installed">
            <span>{{ _('Apps Installed') }}</span>
          </a>
        </li>
        <li>
          <a href="{{ url('ratings') }}" data-src="ratings">
            <span>{{ _('App Ratings') }}</span>
          </a>
        </li>
        <li>
          <a href="{{ url('abuse_reports') }}" data-src="abuse_reports">
            <span>{{ _('Abuse Reports') }}</span>
          </a>
        </li>
        {# TODO: Implement 'RevenueStats:View' properly when available. #}
        {% if user.get_permission('revenue_stats') %}
          <li>
            <a href="{{ url('gross_revenue') }}" data-src="gross_revenue">
              <span>{{ _('Gross Revenue') }}</span>
            </a>
          </li>
        {% endif %}
      </ul>
    </div>
    {% else %}
      <h2>{{ _('This page is currently not public. Please try again later.') }}</h2>
    {% endif %}
  {% else %}
    <div class="action-required c">
      <p class="notice">{{ _('Please sign in to proceed.') }}</p>
      <a class="button full persona" href="#">{{ _('Sign in / Sign up') }}</a>
    </div>
  {% endif %}
</section><commit_msg>Make global stats public (bug 1023645)<commit_after><section class="main">
  <div class="page-container-app">
    <div class="apps">
      <div class="dashboard-summary-metrics">
        <div class="head head-rightmost">
          <div class="total-val installs"></div>
          <div class="tiny">{{ _('App Installations') }}</div>
        </div>
        <div class="head">
          <div id="developers">{{ _('N/A') }}</div>
          <div class="tiny">{{ _('Developers') }}</div>
        </div>
        <div class="head">
          <div id="transactions">{{ _('N/A') }}</div>
          <div class="tiny">{{ _('Transactions') }}</div>
        </div>
        <div class="head">
          <div id="revenue">{{ _('N/A') }}</div>
          <div class="tiny">{{ _('Net payments') }} (<span class="currency">{{ _('USD') }}</span>)</div>
        </div>
      </div>
    </div>

    <div class="dashboard-controls"></div>

    <ul class="dashboard c">
      <li>
        <a href="{{ url('total_developers') }}" data-src="total_developers">
          <span>{{ _('Developers') }}</span>
        </a>
      </li>
      <li>
        <a href="{{ url('total_visits') }}" data-src="total_visits">
          <span>{{ _('Visits') }}</span>
        </a>
      </li>
      <li>
        <a href="{{ url('apps_added') }}" data-src="apps_added">
          <span>{{ _('New Apps by Payment Type') }}</span>
        </a>
      </li>
      <li>
        <a href="{{ url('apps_by_type') }}" data-src="apps_by_type">
          <span>{{ _('New Apps by App Type') }}</span>
        </a>
      </li>
      <li>
        <a href="{{ url('apps_available_by_premium') }}" data-src="apps_available_by_premium">
          <span>{{ _('Apps by Payment Type') }}</span>
        </a>
      </li>
      <li>
        <a href="{{ url('apps_available_by_type') }}" data-src="apps_available_by_type">
          <span>{{ _('Apps by App Type') }}</span>
        </a>
      </li>
      <li>
        <a href="{{ url('apps_installed') }}" data-src="apps_installed">
          <span>{{ _('Apps Installed') }}</span>
        </a>
      </li>
      <li>
        <a href="{{ url('ratings') }}" data-src="ratings">
          <span>{{ _('App Ratings') }}</span>
        </a>
      </li>
      <li>
        <a href="{{ url('abuse_reports') }}" data-src="abuse_reports">
          <span>{{ _('Abuse Reports') }}</span>
        </a>
      </li>
      {# TODO: Implement 'RevenueStats:View' properly when available. #}
      {% if user.get_permission('revenue_stats') %}
        <li>
          <a href="{{ url('gross_revenue') }}" data-src="gross_revenue">
            <span>{{ _('Gross Revenue') }}</span>
          </a>
        </li>
      {% endif %}
    </ul>
  </div>
</section>
{'fraction_non_alphanumeric': 0.22768304914744233, 'fraction_numerical': 0.0015045135406218655, 'mean_word_length': 1.970705064548163, 'pattern_counts': {'":': 0, '<': 207, '<?xml version=': 0, '>': 207, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5740597', 'n_tokens_mistral': 2044, 'n_tokens_neox': 1961, 'n_words': 434}