From f84f2cdeff755937bdbe52239a51aa5ecf341657 Mon Sep 17 00:00:00 2001 From: master3395 Date: Thu, 22 Jan 2026 19:48:19 +0100 Subject: [PATCH] Add Author field to Plugin Store views (Grid, Table, and Store) - Added author display to Grid View plugin cards - Added Author column to Table View - Added Author column to Plugin Store table view - Author information is extracted from plugin meta.xml files - Displays 'Unknown' if author is not specified in meta.xml --- .../templates/pluginHolder/plugins.html | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/pluginHolder/templates/pluginHolder/plugins.html b/pluginHolder/templates/pluginHolder/plugins.html index 19942fc17..5d700e971 100644 --- a/pluginHolder/templates/pluginHolder/plugins.html +++ b/pluginHolder/templates/pluginHolder/plugins.html @@ -861,6 +861,12 @@ {{ plugin.type }} v{{ plugin.version }} + {% if plugin.author %} +
+ + {% trans "Author:" %} {{ plugin.author }} +
+ {% endif %} @@ -937,6 +943,7 @@ {% trans "Plugin Name" %} + {% trans "Author" %} {% trans "Version" %} {% trans "Modify Date" %} {% trans "Status" %} @@ -952,6 +959,11 @@ {{ plugin.name }} + + + {{ plugin.author|default:"Unknown" }} + + {{ plugin.version }} @@ -1106,6 +1118,7 @@ {% trans "Plugin Name" %} + {% trans "Author" %} {% trans "Version" %} {% trans "Modify Date" %} {% trans "Status" %} @@ -1232,7 +1245,7 @@ function displayStorePlugins() { tbody.innerHTML = ''; if (!storePlugins || storePlugins.length === 0) { - tbody.innerHTML = 'No plugins available in store'; + tbody.innerHTML = 'No plugins available in store'; return; } @@ -1310,10 +1323,14 @@ function displayStorePlugins() { // Modify Date column - show N/A for store plugins (they're from GitHub, not local) const modifyDateHtml = plugin.modify_date ? `${escapeHtml(plugin.modify_date)}` : 'N/A'; + // Author column + const authorHtml = plugin.author ? `${escapeHtml(plugin.author)}` : 'Unknown'; + row.innerHTML = ` ${escapeHtml(plugin.name)} + ${authorHtml} ${escapeHtml(plugin.version)} ${modifyDateHtml} ${statusHtml}