Node.js based forum software built for the modern web
fix: no-widgets messaging in ACP + copy
Julian Lam334be11382c7
diff --git a/public/language/en-GB/admin/extend/widgets.json b/public/language/en-GB/admin/extend/widgets.jsonindex f2255b9395..ab9bfb4cdb 100644--- a/public/language/en-GB/admin/extend/widgets.json+++ b/public/language/en-GB/admin/extend/widgets.json@@ -1,7 +1,7 @@{"available": "Available Widgets","explanation": "Select a widget from the dropdown menu and then drag and drop it into a template's widget area on the left.",- "none-installed": "No widgets found! Activate the essential widgets plugin in the <a href=\"%1\">plugins</a> control panel.",+ "none-installed": "No widgets found! Activate the widget essentials plugin in the <a href=\"%1\">plugins</a> control panel.","clone-from": "Clone widgets from","containers.available": "Available Containers","containers.explanation": "Drag and drop on top of any active widget",diff --git a/src/views/admin/extend/widgets.tpl b/src/views/admin/extend/widgets.tplindex 3d984516c1..e5271a3786 100644--- a/src/views/admin/extend/widgets.tpl+++ b/src/views/admin/extend/widgets.tpl@@ -33,7 +33,7 @@<div class="available-widgets"><p>[[admin/extend/widgets:explanation]]</p><!-- IF !availableWidgets.length -->- <div class="alert alert-info">[[none-installed, {config.relative_path}/admin/extend/plugins]]</div>+ <div class="alert alert-info">[[admin/extend/widgets:none-installed, {config.relative_path}/admin/extend/plugins]]</div><!-- ENDIF !availableWidgets.length --><p><select id="widget-selector" class="form-control">diff --git a/test/api.js b/test/api.jsindex 15e3fded31..ba06b4e929 100644--- a/test/api.js+++ b/test/api.js@@ -66,7 +66,7 @@ describe('Read API', async () => {await socketUser.exportPosts({ uid: adminUid }, { uid: adminUid });await socketUser.exportUploads({ uid: adminUid }, { uid: adminUid });// wait for export child process to complete- await wait(20000);+ // await wait(20000);// Attach a search hook so /api/search is enabledplugins.registerHook('core', {