From e5987a6b591a8b0e537642719233672632372b14 Mon Sep 17 00:00:00 2001 From: billz Date: Sun, 22 Dec 2024 09:27:40 -0800 Subject: [PATCH] Update w/ link to plugin_uri --- app/js/custom.js | 5 ++++- templates/system.php | 8 ++++++-- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/app/js/custom.js b/app/js/custom.js index 354f9cd6..1b73de31 100644 --- a/app/js/custom.js +++ b/app/js/custom.js @@ -473,6 +473,10 @@ $('#install-user-plugin').on('shown.bs.modal', function (e) { var manifestData = button.data('plugin-manifest'); if (manifestData) { + $('#plugin-uri').html(manifestData.plugin_uri + ? `${manifestData.plugin_uri}` + : 'Unknown' + ); $('#plugin-icon').attr('class', `${manifestData.icon || 'fas fa-plug'} link-secondary h5 me-2`); $('#plugin-name').text(manifestData.name || 'Unknown'); $('#plugin-version').text(manifestData.version || 'Unknown'); @@ -487,7 +491,6 @@ $('#install-user-plugin').on('shown.bs.modal', function (e) { $('#plugin-dependencies').html(formatProperty(manifestData.dependencies || {})); $('#plugin-sudoers').html(formatProperty(manifestData.sudoers || [])); $('#plugin-user-name').html(manifestData.user_nonprivileged.name || {}); - console.log(manifestData); } }); diff --git a/templates/system.php b/templates/system.php index dcc4679d..bee431d8 100755 --- a/templates/system.php +++ b/templates/system.php @@ -112,7 +112,7 @@