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

{% from 'questions/mobile/includes/macros.html' import questions_url with context %}

{% set styles = ('mobile/questions',) %}
{% set classes = 'questions' %}

{% if all_products %}
  {% set product_title = _('All Products') %}
{% elif multiple_products %}
  {% set product_title = _('Multiple Products') %}
{% else %}
  {% set product_title = _(products[0].title, 'DB: products.Product.title') %}
{% endif %}

{% set title = _('{product} Support Forum')|f(product=product_title) %}
{% set headline = title %}
{% set return_url = url('questions.home') %}

{% block after_header %}
  <div class="pulldown-menu slide-on-exposed">
    <div class="pulldown-handle"></div>
    <div class="pulldown-panel">
      {% if karma_top or top_contributors %}
        <section id="top-contributors">
          <strong>{{ _('Top contributors') }}</strong>
          <ol>
            {% if karma_top %}
              {% for user in karma_top[:10] %}
                <li>{{ display_name(user) }}</li>
              {% endfor %}
            {% elif top_contributors %}
              {% for user in top_contributors[:10] %}
                <li>{{ user }}</li>
              {% endfor %}
            {% endif %}
          </ol>
        </section>
      {% endif %}
      <section id="product-switcher" class="swipeable">
        <ul>
          {% for p in product_list %}
            {% set selected = not multiple_products and p == products[0] %}
            <li{% if selected %} class="selected"{% endif %}>
              <a href="{% if selected %}{{ questions_url(_product=None) }}{% else %}{{ questions_url(_product=p.slug) }}{% endif %}"><commit_msg>[bug 1073627] Mobile template updates for top contributors.<commit_after>{% extends 'mobile/base.html' %}

{% from 'questions/mobile/includes/macros.html' import questions_url with context %}

{% set styles = ('mobile/questions',) %}
{% set classes = 'questions' %}

{% if all_products %}
  {% set product_title = _('All Products') %}
{% elif multiple_products %}
  {% set product_title = _('Multiple Products') %}
{% else %}
  {% set product_title = _(products[0].title, 'DB: products.Product.title') %}
{% endif %}

{% set title = _('{product} Support Forum')|f(product=product_title) %}
{% set headline = title %}
{% set return_url = url('questions.home') %}

{% block after_header %}
  <div class="pulldown-menu slide-on-exposed">
    <div class="pulldown-handle"></div>
    <div class="pulldown-panel">
      {% if karma_top or top_contributors %}
        <section id="top-contributors">
          <strong>{{ _('Top contributors') }}</strong>
          <ol>
            {% if top_contributors %}
              {% for result in top_contributors[:10] %}
                <li>{{ result['user']['display_name'] }}</li>
              {% endfor %}
            {% endif %}
          </ol>
        </section>
      {% endif %}
      <section id="product-switcher" class="swipeable">
        <ul>
          {% for p in product_list %}
            {% set selected = not multiple_products and p == products[0] %}
            <li{% if selected %} class="selected"{% endif %}>
              <a href="{% if selected %}{{ questions_url(_product=None) }}{% else %}{{ questions_url(_product=p.slug) }}{% endif %}">
{'fraction_non_alphanumeric': 0.18051750380517503, 'fraction_numerical': 0.005175038051750381, 'mean_word_length': 2.7171945701357467, 'pattern_counts': {'":': 0, '<': 37, '<?xml version=': 0, '>': 37, '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': '5106448', 'n_tokens_mistral': 1108, 'n_tokens_neox': 964, 'n_words': 231}