<commit_before>{% extends "base.html" %}
{% load datagrid %}
{% load djblets_utils %}
{% load i18n %}
{% block title %}{% trans "Search Review Requests" %}{% endblock %}
{% block extrahead %}
<link rel="stylesheet" type="text/css" href="{{MEDIA_URL}}rb/css/search.css" />
{% endblock %}

<!-- TODO: highlight search terms in summaries/excerpts -->

{% block content %}
 {% ifequal hits 0 %}
 {% trans "No review requests matching your query" %}<b>{{ query }}</b>
 {% else %}
 {% trans "Results" %} <b>{{ first_on_page }} - {{ last_on_page }}</b> of {{ hits }} for <b>{{ query }}</b>
 {% endifequal %}
 <br /><br />
 {% for result in object_list %}
  <div class="searchresult">
   <h2><a href="{{ result.get_absolute_url }}">{{ result.summary }}</a></h2>
   <div class="excerpt">{{ result.description|truncatewords:30 }}</div>
   <div class="by">{% blocktrans with result.time_added|timesince as added_since and result.submitter|user_displayname as added_by%}{{added_since}} ago by {{added_by}}{% endblocktrans %}</div>
  </div>
 {% endfor %}
 {% if is_paginated %}
 {% paginator %}
 {% endif %}
{% endblock %}<commit_msg>Patch by <NAME> to fix an issue in search where the "No review requests matching your query" text runs right up against the actual query. Reviewed at http://reviews.review-board.org/r/657/<commit_after>{% extends "base.html" %}
{% load datagrid %}
{% load djblets_utils %}
{% load i18n %}
{% block title %}{% trans "Search Review Requests" %}{% endblock %}
{% block extrahead %}
<link rel="stylesheet" type="text/css" href="{{MEDIA_URL}}rb/css/search.css" />
{% endblock %}

<!-- TODO: highlight search terms in summaries/excerpts -->

{% block content %}
 {% ifequal hits 0 %}
 {% trans "No review requests matching your query" %}: <b>{{ query }}</b>
 {% else %}
 {% trans "Results" %} <b>{{ first_on_page }} - {{ last_on_page }}</b> of {{ hits }} for <b>{{ query }}</b>
 {% endifequal %}
 <br /><br />
 {% for result in object_list %}
  <div class="searchresult">
   <h2><a href="{{ result.get_absolute_url }}">{{ result.summary }}</a></h2>
   <div class="excerpt">{{ result.description|truncatewords:30 }}</div>
   <div class="by">{% blocktrans with result.time_added|timesince as added_since and result.submitter|user_displayname as added_by%}{{added_since}} ago by {{added_by}}{% endblocktrans %}</div>
  </div>
 {% endfor %}
 {% if is_paginated %}
 {% paginator %}
 {% endif %}
{% endblock %}
{'fraction_non_alphanumeric': 0.20545680033071517, 'fraction_numerical': 0.007027697395618024, 'mean_word_length': 4.576036866359447, 'pattern_counts': {'":': 0, '<': 44, '<?xml version=': 0, '>': 44, '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': '900896', 'n_tokens_mistral': 880, 'n_tokens_neox': 782, 'n_words': 223}