forked from Icycoide/searxng
[feat] plugins: new calculator plugin
This commit is contained in:
parent
742303d030
commit
72be98e12f
3 changed files with 90 additions and 1 deletions
|
@ -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">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue