From 99c3bc552975469ddc7da0b234f538dc70893d2c Mon Sep 17 00:00:00 2001 From: Matthias Date: Thu, 4 Nov 2021 13:21:02 +0100 Subject: [PATCH] make package info conditional --- .../templates/InvenTree/settings/plugin_settings.html | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/InvenTree/templates/InvenTree/settings/plugin_settings.html b/InvenTree/templates/InvenTree/settings/plugin_settings.html index e10a4f8db3..3aac7bf845 100644 --- a/InvenTree/templates/InvenTree/settings/plugin_settings.html +++ b/InvenTree/templates/InvenTree/settings/plugin_settings.html @@ -48,12 +48,15 @@ {% endif %} + {% if plugin.is_package==False %}

{% trans 'The code information is pulled from the latest git commit for this plugin. It might not reflect official version numbers or information but the actual code running.' %}

+ {% endif %}

{% trans "Package information" %}

+ {% if plugin.is_package==False %} @@ -70,6 +73,11 @@ + {% else %} + + + + {% endif %}
{% trans "Commit Author" %}{{ plugin.package.author }} - {{ plugin.package.mail }}{% include "clip.html" %} {% trans "Commit Message" %}{{ plugin.package.message }}{% include "clip.html" %}
{% trans "This plugin was installed as a package" %}
{% trans "Sign Status" %}