[mod] settings: show weight of each instance

This commit is contained in:
Bnyro 2023-08-09 13:51:16 +02:00 committed by Markus Heiser
parent 733b795d53
commit 4731290317

View File

@ -20,6 +20,7 @@
<th>{{- _("Supports selected language") -}}</th>{{- '' -}} <th>{{- _("Supports selected language") -}}</th>{{- '' -}}
<th>{{- _("SafeSearch") -}}</th>{{- '' -}} <th>{{- _("SafeSearch") -}}</th>{{- '' -}}
<th>{{- _("Time range") -}}</th>{{- '' -}} <th>{{- _("Time range") -}}</th>{{- '' -}}
<th>{{- _("Weight") }}</th>
{%- if enable_metrics -%} {%- if enable_metrics -%}
<th>{{- _("Response time") -}}</th> <th>{{- _("Response time") -}}</th>
{%- endif -%} {%- endif -%}
@ -72,6 +73,7 @@
<td> <td>
{{- checkbox(None, supports[search_engine.name]['time_range_support'], true) -}} {{- checkbox(None, supports[search_engine.name]['time_range_support'], true) -}}
</td>{{- '' -}} </td>{{- '' -}}
<td>{{- search_engine.weight or '1.0' -}}</td>{{- '' -}}
{%- if enable_metrics -%} {%- if enable_metrics -%}
{{- engine_time(search_engine.name) -}} {{- engine_time(search_engine.name) -}}
{%- endif -%} {%- endif -%}