[feat] plugins: new calculator plugin

This commit is contained in:
Bnyro 2024-04-07 15:52:00 +02:00 committed by Markus Heiser
parent 742303d030
commit 72be98e12f
3 changed files with 90 additions and 1 deletions

View file

@ -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">