From 40789db66c475156a3e8b0c759f92c7306b198f9 Mon Sep 17 00:00:00 2001 From: Matthias Date: Mon, 4 Oct 2021 22:20:50 +0200 Subject: [PATCH] better readable badges --- InvenTree/templates/InvenTree/settings/plugin.html | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/InvenTree/templates/InvenTree/settings/plugin.html b/InvenTree/templates/InvenTree/settings/plugin.html index 92ae800dac..5028760d0b 100644 --- a/InvenTree/templates/InvenTree/settings/plugin.html +++ b/InvenTree/templates/InvenTree/settings/plugin.html @@ -31,19 +31,13 @@ {% mixin_enabled plugin 'settings' as settings %} - {{plugin_key}} - {{ plugin.human_name }} - {% if urls %} - {% trans 'Has urls' %} - {% endif %} - {% if settings %} - {% trans 'Has settings' %} - {% endif %} - + {{ plugin.human_name }} - {{plugin_key}} {% define plugin.registered_mixins as mixin_list %} {% if mixin_list %} {% for mixin in mixin_list %} - - {% blocktrans with name=mixin.human_name %}has {{name}}{% endblocktrans %} + + {% blocktrans with name=mixin.human_name %}has {{name}}{% endblocktrans %} + {% endfor %} {% endif %}