From 7b374ec2f1979352bf9748b159a10ccf98af5b28 Mon Sep 17 00:00:00 2001
From: Oliver Walters <oliver.henry.walters@gmail.com>
Date: Wed, 2 Nov 2022 00:59:31 +1100
Subject: [PATCH] Adjust plugin detail for builtin plugins

---
 .../templates/InvenTree/settings/plugin_settings.html    | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/InvenTree/templates/InvenTree/settings/plugin_settings.html b/InvenTree/templates/InvenTree/settings/plugin_settings.html
index a242d03053..ee17a953c7 100644
--- a/InvenTree/templates/InvenTree/settings/plugin_settings.html
+++ b/InvenTree/templates/InvenTree/settings/plugin_settings.html
@@ -94,7 +94,14 @@
                 <td>{% trans "Installation path" %}</td>
                 <td>{{ plugin.package_path }}</td>
             </tr>
-            {% if plugin.is_package == False %}
+            {% if plugin.is_package %}
+            {% elif plugin.is_builtin %}
+            <tr>
+                <td><span class='fas fa-check-circle icon-green'></span></td>
+                <td>{% trans "Builtin" %}</td>
+                <td>{% trans "This is a builtin plugin which cannot be disabled" %}</td>
+            </tr>
+            {% else %}
             <tr>
                 <td><span class='fas fa-user'></span></td>
                 <td>{% trans "Commit Author" %}</td><td>{{ plugin.package.author }} - {{ plugin.package.mail }}{% include "clip.html" %}</td>