summaryrefslogtreecommitdiff
path: root/searx/templates/oscar/preferences.html
diff options
context:
space:
mode:
authorNoémi Ványi <sitbackandwait@gmail.com>2020-12-09 17:33:18 +0100
committerNoémi Ványi <sitbackandwait@gmail.com>2020-12-09 20:49:54 +0100
commit3a63dfbdd7ff53c2e083915b0dea481a6ea0aaaa (patch)
treee87938d67386bb7d0272c14e1902867eeb152676 /searx/templates/oscar/preferences.html
parent42a194898baf96e15edeb9268fbec5ecd4423c09 (diff)
downloadsearxng-3a63dfbdd7ff53c2e083915b0dea481a6ea0aaaa.tar.gz
searxng-3a63dfbdd7ff53c2e083915b0dea481a6ea0aaaa.zip
display if an engine does not support https
Closes #302
Diffstat (limited to 'searx/templates/oscar/preferences.html')
-rw-r--r--searx/templates/oscar/preferences.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/searx/templates/oscar/preferences.html b/searx/templates/oscar/preferences.html
index bc688dade..fc20b8ca5 100644
--- a/searx/templates/oscar/preferences.html
+++ b/searx/templates/oscar/preferences.html
@@ -230,8 +230,8 @@
<td class="onoff-checkbox">
{{ checkbox_toggle('engine_' + search_engine.name|replace(' ', '_') + '__' + categ|replace(' ', '_'), (search_engine.name, categ) in disabled_engines) }}
</td>
- <th scope="row">{{ search_engine.name }}</th>
- <td class="name">{{ shortcuts[search_engine.name] }}</td>
+ <th scope="row">{% if not search_engine.https_support %}{{ icon('exclamation-sign', 'No HTTPS') }}{% endif %} {{ search_engine.name }}</td></th>
+ <td class="name">{{ shortcuts[search_engine.name] }}
<td>{{ support_toggle(stats[search_engine.name].supports_selected_language) }}</td>
<td>{{ support_toggle(search_engine.safesearch==True) }}</td>
<td>{{ support_toggle(search_engine.time_range_support==True) }}</td>