diff options
author | Bnyro <bnyro@tutanota.com> | 2024-04-07 15:52:00 +0200 |
---|---|---|
committer | Markus Heiser <markus.heiser@darmarIT.de> | 2024-05-09 17:23:38 +0200 |
commit | 72be98e12f5b8454f03cf3cb44a920fce75d4f7b (patch) | |
tree | 896bc8934bb2eca9b03d83eb8c8329b88579a16d /searx/templates | |
parent | 742303d03011d01fc8ca9eb3a03468c44968950f (diff) | |
download | searxng-72be98e12f5b8454f03cf3cb44a920fce75d4f7b.tar.gz searxng-72be98e12f5b8454f03cf3cb44a920fce75d4f7b.zip |
[feat] plugins: new calculator plugin
Diffstat (limited to 'searx/templates')
-rw-r--r-- | searx/templates/simple/preferences.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/searx/templates/simple/preferences.html b/searx/templates/simple/preferences.html index 9dab84fd1..0145dcd0f 100644 --- a/searx/templates/simple/preferences.html +++ b/searx/templates/simple/preferences.html @@ -38,7 +38,7 @@ {%- macro plugin_preferences(section) -%} {%- for plugin in plugins -%} -{%- if plugin.preference_section == section -%} +{%- if plugin.preference_section == section and (plugin.is_allowed() if plugin.is_allowed else True) -%} <fieldset>{{- '' -}} <legend>{{ _(plugin.name) }}</legend>{{- '' -}} <div class="value"> |