logo

searx

Unnamed repository; edit this file 'description' to name the repository.
commit: 116521192e5feccd764d58a94ec8ddcedda893ac
parent: 9743bde25ef2ce6b765b8192aafcdc0a15739b17
Author: Adam Tauber <asciimoo@gmail.com>
Date:   Wed, 28 Dec 2016 21:01:19 +0100

[mod] display supported languages in preferences engine view

Diffstat:

searx/templates/oscar/preferences.html | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/searx/templates/oscar/preferences.html b/searx/templates/oscar/preferences.html @@ -172,7 +172,7 @@ </td> <th>{{ search_engine.name }}</th> <td>{{ shortcuts[search_engine.name] }}</td> - <td><input type="checkbox" {{ "checked" if current_language == 'all' or current_language in search_engine.supported_languages or current_language.split('-')[0] in search_engine.supported_languages else ""}} readonly="readonly" disabled="disabled"></td> + <td><input type="checkbox" {{ "checked" if search_engine.supported_languages else ""}} readonly="readonly" disabled="disabled"></td> <td><input type="checkbox" {{ "checked" if search_engine.safesearch==True else ""}} readonly="readonly" disabled="disabled"></td> <td><input type="checkbox" {{ "checked" if search_engine.time_range_support==True else ""}} readonly="readonly" disabled="disabled"></td> <td class="{{ 'danger' if stats[search_engine.name]['warn_time'] else '' }}">{{ 'N/A' if stats[search_engine.name].time==None else stats[search_engine.name].time }}</td>