From 7df31058045155cc7a8d479b370b8803a912e547 Mon Sep 17 00:00:00 2001 From: Ayman Abi Abdallah Date: Tue, 26 Jan 2021 12:58:22 +0200 Subject: [PATCH 1/4] In EntityDataFind, remove skip-form attribute to restore the Edit and Delete functionalities. --- .../tools/screen/Tools/Entity/DataEdit/EntityDataFind.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/base-component/tools/screen/Tools/Entity/DataEdit/EntityDataFind.xml b/base-component/tools/screen/Tools/Entity/DataEdit/EntityDataFind.xml index bdc877c6f..654682b3f 100644 --- a/base-component/tools/screen/Tools/Entity/DataEdit/EntityDataFind.xml +++ b/base-component/tools/screen/Tools/Entity/DataEdit/EntityDataFind.xml @@ -62,7 +62,7 @@ along with this software (see the LICENSE.md file). If not, see - From 62f6309e91c0a929f440ce8673766cb142aaa4ed Mon Sep 17 00:00:00 2001 From: Ayman Abi Abdallah Date: Tue, 26 Jan 2021 13:03:29 +0200 Subject: [PATCH 2/4] In the Form List macros, wrap the "Clear Parameters" and "Order By" fields with a div to match the style of the remaining generated fields. --- template/screen-macro/DefaultScreenMacros.qvt.ftl | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/template/screen-macro/DefaultScreenMacros.qvt.ftl b/template/screen-macro/DefaultScreenMacros.qvt.ftl index 4b541dce0..667d8ad01 100644 --- a/template/screen-macro/DefaultScreenMacros.qvt.ftl +++ b/template/screen-macro/DefaultScreenMacros.qvt.ftl @@ -719,12 +719,14 @@ ${sri.renderIncludeScreen(.node["@location"], .node["@share-scope"]!)} <#t> :fields-initial="${Static["org.moqui.util.WebUtilities"].fieldValuesEncodeHtmlJsSafe(sri.getFormListHeaderValues(formNode))}"> - - - <#-- Always add an orderByField to select one or more columns to order by --> - +
+ + + <#-- Always add an orderByField to select one or more columns to order by --> + +
<#t>${sri.pushSingleFormMapContext("")} <#list formNode["field"] as fieldNode><#if fieldNode["header-field"]?has_content && fieldNode["header-field"][0]?children?has_content> From 281d9f698f951657a49aa3dd11fbdf4a1cd1f234 Mon Sep 17 00:00:00 2001 From: Ayman Abi Abdallah Date: Tue, 26 Jan 2021 13:12:11 +0200 Subject: [PATCH 3/4] Changed the System app icon from fa-hdd-o to fa-cog because "-o" icons have been removed from FA5 and replaced with styles (fas, far, fal ... etc.), so upgrading the default FA4 shipped with Moqui to FA5 would result in a broken icon on the System app. --- base-component/tools/screen/System.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/base-component/tools/screen/System.xml b/base-component/tools/screen/System.xml index 70d7dd719..0366c58b9 100644 --- a/base-component/tools/screen/System.xml +++ b/base-component/tools/screen/System.xml @@ -14,7 +14,7 @@ along with this software (see the LICENSE.md file). If not, see --> + default-menu-title="System" menu-image="fa fa-cog" menu-image-type="icon"> From ba166f811d683400421382c78b98e421c727e156 Mon Sep 17 00:00:00 2001 From: Ayman Abi Abdallah Date: Thu, 17 Jun 2021 12:35:00 +0300 Subject: [PATCH 4/4] Disabled autocomplete on username and password fields in the login screen. --- base-component/webroot/screen/webroot/Login.ftl | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/base-component/webroot/screen/webroot/Login.ftl b/base-component/webroot/screen/webroot/Login.ftl index eeefbd8a2..c3c278989 100644 --- a/base-component/webroot/screen/webroot/Login.ftl +++ b/base-component/webroot/screen/webroot/Login.ftl @@ -22,8 +22,8 @@ @@ -32,7 +32,7 @@ @@ -40,10 +40,10 @@