{% from 'oscar/macros.html' import preferences_item_header, preferences_item_header_rtl, preferences_item_footer, preferences_item_footer_rtl, checkbox_toggle, support_toggle, custom_select_class %} {% extends "oscar/base.html" %} {%- macro engine_about(search_engine, id) -%} {% if search_engine.about is defined or stats[search_engine.name]['result_count'] > 0 %} {% set about = search_engine.about %}
wikidata.org/wiki/{{about.wikidata_id}}
{%- endif -%} {% endif %} {%- if search_engine.enable_http %}{{ icon('exclamation-sign', 'No HTTPS') }}{{ _('No HTTPS')}}
{% endif -%} {%- if stats[search_engine.name]['result_count'] -%}{{ _('Number of results') }}: {{ stats[search_engine.name]['result_count'] }} ( {{ _('Avg.') }} )
{{- "" -}} {%- endif -%} {%- if reliabilities[search_engine.name].errors -%} {{ _('View error logs and submit a bug report') }} {%- endif -%}{{ _('Median') }}: {{ stats[engine_name].time }}
{{- "" -}}{{ _('P80') }}: {{ stats[engine_name].rate80 }}
{{- "" -}}{{ _('P95') }}: {{ stats[engine_name].rate95 }}
{{- "" -}}{{ _("Failed checker test(s): ") }} {{ ', '.join(checker_result) }}
{%- endif -%} {%- for error in errors -%}{{ error }}
{{- "" -}} {%- endfor -%}