[ofbiz-plugins] branch trunk updated: Improved: use a label for "uploadedFile" in form widgets

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[ofbiz-plugins] branch trunk updated: Improved: use a label for "uploadedFile" in form widgets

jleroux@apache.org
This is an automated email from the ASF dual-hosted git repository.

jleroux pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/ofbiz-plugins.git


The following commit(s) were added to refs/heads/trunk by this push:
     new 4bf7288  Improved: use a label for "uploadedFile" in form widgets
4bf7288 is described below

commit 4bf7288f24481f1cd94c0e51e109356278e294c4
Author: Jacques Le Roux <[hidden email]>
AuthorDate: Tue Dec 8 17:17:52 2020 +0100

    Improved: use a label for "uploadedFile" in form widgets
   
    ie
    <field name="uploadedFile" title="${uiLabelMap.ContentFile}">
    instead of only
    <field name="uploadedFile">
---
 scrum/widget/CommunicationEventForms.xml | 2 +-
 scrum/widget/OpenTestForms.xml           | 2 +-
 scrum/widget/TaskForms.xml               | 2 +-
 scrum/widget/scrumForms.xml              | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/scrum/widget/CommunicationEventForms.xml b/scrum/widget/CommunicationEventForms.xml
index 887cdab..d120b5f 100644
--- a/scrum/widget/CommunicationEventForms.xml
+++ b/scrum/widget/CommunicationEventForms.xml
@@ -102,7 +102,7 @@ under the License.
         <field name="partyIdTo"><hidden/></field>
         <field name="datetimeStarted"><hidden/></field>
         <field name="my"><hidden value="${my}"/></field>
-        <field name="uploadedFile"><file/></field>
+        <field name="uploadedFile" title="${uiLabelMap.ContentFile}"><file/></field>
         <field name="send" title=" " widget-style="buttontext">
             <hyperlink also-hidden="true"
                 target-type="plain" description="${uiLabelMap.CommonUpload}"
diff --git a/scrum/widget/OpenTestForms.xml b/scrum/widget/OpenTestForms.xml
index 2ab8ac9..4c3230f 100644
--- a/scrum/widget/OpenTestForms.xml
+++ b/scrum/widget/OpenTestForms.xml
@@ -193,7 +193,7 @@
         <field name="statusId"><hidden value="SCAS_ASSIGNED"/></field>
         <field name="priority"><hidden value="1"/></field>
         <field name="description" title="${uiLabelMap.CommonDescription}"><textarea rows="6"/></field>
-        <field name="uploadedFile"><file/></field>
+        <field name="uploadedFile" title="${uiLabelMap.ContentFile}"><file/></field>
         <field name="contentTypeId"><hidden value="DOCUMENT"/></field>
         <field name="resourceStatusId"><hidden value="CTNT_PUBLISHED"/></field>
         <field name="workEffortContentTypeId"><hidden value="CREATED_MEDIA"/></field>
diff --git a/scrum/widget/TaskForms.xml b/scrum/widget/TaskForms.xml
index 987afe9..929d539 100644
--- a/scrum/widget/TaskForms.xml
+++ b/scrum/widget/TaskForms.xml
@@ -93,7 +93,7 @@
         <!--<field name="actualHours" use-when="task==null" title="Actual Hours"><text size="3"/></field>-->
         <field name="currentStatusId" use-when="task==null"><hidden value="STS_CREATED"/></field>
         <field name="description" title="${uiLabelMap.CommonDescription}" tooltip="${uiLabelMap.CommonMax250Chars}"><textarea/></field>
-        <field name="uploadedFile"><file/></field>
+        <field name="uploadedFile" title="${uiLabelMap.ContentFile}"><file/></field>
         <field name="contentTypeId"><hidden value="DOCUMENT"/></field>
         <field name="resourceStatusId"><hidden value="CTNT_PUBLISHED"/></field>
         <field name="workEffortContentTypeId"><hidden value="CREATED_MEDIA"/></field>
diff --git a/scrum/widget/scrumForms.xml b/scrum/widget/scrumForms.xml
index cc12377..e49f733 100644
--- a/scrum/widget/scrumForms.xml
+++ b/scrum/widget/scrumForms.xml
@@ -2896,7 +2896,7 @@ under the License.
         <field name="planHours" title="${uiLabelMap.ScrumPlannedHours}"><text size="3" default-value="${resultMap.planHours}"/></field>
         <field name="currentStatusId"><hidden value="STS_CREATED"/></field>
         <field name="description" title="${uiLabelMap.CommonDescription}" tooltip="${uiLabelMap.CommonMax250Chars}"><textarea/></field>
-        <field name="uploadedFile"><file/></field>
+        <field name="uploadedFile" title="${uiLabelMap.ContentFile}"><file/></field>
         <field name="contentTypeId"><hidden value="DOCUMENT"/></field>
         <field name="resourceStatusId"><hidden value="CTNT_PUBLISHED"/></field>
         <field name="workEffortContentTypeId"><hidden value="CREATED_MEDIA"/></field>