{# vim: set ts=2 et sts=2 sw=2: #} {% extends "mobile/base.html" %} {% set title = _('Search') %} {% set show_search = 'top' %} {% set is_mobile_page = True %} {# TODO: set based on showfor selection? #} {% set meta = (('WT.oss', q), ('WT.oss_r', num_results)) %} {% block content %} {% if q %}
{# L10n: {n} is the number of search results, {q} is the search query, {l} is the language searched. #} {{ ngettext('Found {n} result for {q} in {l}', 'Found {n} results for {q} in {l}', num_results)|fe(n=num_results, q=q, l=lang_name) }}
{% if results %}
    {% for doc in results %}
  1. {{ doc.title }}

    {{ doc.search_summary|safe }}

  2. {% endfor %}
{{ pages|mobile_paginator }} {% endif %} {% endif %} {% endblock %}