[enh] display help text for "Other" engines tab in preferences

This commit is contained in:
Martin Fischer 2022-01-03 21:37:17 +01:00
parent 6f07d51b62
commit abe53946d4
2 changed files with 6 additions and 0 deletions

View File

@ -321,6 +321,9 @@
<noscript><label>{{ _(categ) }}</label> <noscript><label>{{ _(categ) }}</label>
</noscript> </noscript>
<div class="tab-pane{% if loop.first %} active{% endif %} active_if_nojs" id="tab_engine_{{ categ|replace(' ', '_') }}"> <div class="tab-pane{% if loop.first %} active{% endif %} active_if_nojs" id="tab_engine_{{ categ|replace(' ', '_') }}">
{% if categ == OTHER_CATEGORY %}
<p>{{_('This tab does not show up for search results but you can search the engines listed here via bangs.')}}</p>
{% endif %}
<div class="container-fluid"> <div class="container-fluid">
<fieldset> <fieldset>
<div class="table-responsive"> <div class="table-responsive">

View File

@ -276,6 +276,9 @@
{{ tabs_open() }} {{ tabs_open() }}
{% for categ in categories_as_tabs + [OTHER_CATEGORY] %} {% for categ in categories_as_tabs + [OTHER_CATEGORY] %}
{{ tab_header('enginetab', 'category' + categ, _(categ)) }} {{ tab_header('enginetab', 'category' + categ, _(categ)) }}
{% if categ == OTHER_CATEGORY %}
<p>{{_('This tab does not show up for search results but you can search the engines listed here via bangs.')}}</p>
{% endif %}
<div class="scrollx"> <div class="scrollx">
<table class="striped"> <table class="striped">
<tr> <tr>