[feat] plugins: new calculator plugin

This commit is contained in:
Bnyro 2024-04-07 15:52:00 +02:00
parent f5bb64cca8
commit 9d2aee5591
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">