From b80ff5e460304e78511e718d92be60c1500fc19e Mon Sep 17 00:00:00 2001 From: Oliver Walters Date: Fri, 6 May 2022 21:03:30 +1000 Subject: [PATCH] Tweak display of plugin badges --- InvenTree/templates/InvenTree/settings/plugin.html | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/InvenTree/templates/InvenTree/settings/plugin.html b/InvenTree/templates/InvenTree/settings/plugin.html index 94a166c84a..a451fb6544 100644 --- a/InvenTree/templates/InvenTree/settings/plugin.html +++ b/InvenTree/templates/InvenTree/settings/plugin.html @@ -69,6 +69,12 @@ {{ plugin.human_name }} - {{plugin_key}} {% define plugin.registered_mixins as mixin_list %} + {% if plugin.is_sample %} + + {% trans "Sample" %} + + {% endif %} + {% if mixin_list %} {% for mixin in mixin_list %} @@ -77,12 +83,6 @@ {% endfor %} {% endif %} - {% if plugin.is_sample %} - - {% trans "code sample" %} - - {% endif %} - {% if plugin.website %} {% endif %}