You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by jl...@apache.org on 2015/01/11 12:25:00 UTC

svn commit: r1650887 - /ofbiz/trunk/specialpurpose/projectmgr/widget/forms/TaskForms.xml

Author: jleroux
Date: Sun Jan 11 11:25:00 2015
New Revision: 1650887

URL: http://svn.apache.org/r1650887
Log:
A patch from Pierre Smits for "link of dependent task in Task Dependencies of task links Dependencies of Task" https://issues.apache.org/jira/browse/OFBIZ-5815

In the dependencies overview of a task links are provided for the tasks listed.
These links link to the dependencies overview of the task that has been accessed.
The links should point to the dependent task.

jleroux: while testing I had a doubt about Pierre's assertion, but I agree it makes more sense to link to the dependent tasks than to the dependencies overview

Modified:
    ofbiz/trunk/specialpurpose/projectmgr/widget/forms/TaskForms.xml

Modified: ofbiz/trunk/specialpurpose/projectmgr/widget/forms/TaskForms.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/projectmgr/widget/forms/TaskForms.xml?rev=1650887&r1=1650886&r2=1650887&view=diff
==============================================================================
--- ofbiz/trunk/specialpurpose/projectmgr/widget/forms/TaskForms.xml (original)
+++ ofbiz/trunk/specialpurpose/projectmgr/widget/forms/TaskForms.xml Sun Jan 11 11:25:00 2015
@@ -339,7 +339,7 @@
         <field name="fromDate"><hidden/></field>
         <field name="workEffortId"><hidden/></field>
         <field name="workEffortIdFrom" title="${uiLabelMap.CommonName}">
-            <hyperlink target="Dependencies" description="${r.taskInfo.taskName}">
+            <hyperlink target="taskView" description="${r.taskInfo.taskName}">
                 <parameter param-name="workEffortId" from-field="workEffortIdFrom"/>
             </hyperlink>
         </field>
@@ -351,6 +351,7 @@
         <field name="actualCompletionDate"  entry-name="r.taskInfo.actualCompletionDate" title="${uiLabelMap.FormFieldTitle_actualCompletionDate}"><display type="date"/></field>
         <field name="deleteButton"><submit button-type="button"/></field>
     </form>
+    
     <form name="DependenciesAfter" target="removeDependency" title="" list-name="depList" type="list" separate-columns="true" paginate-target="Dependencies"
         odd-row-style="alternate-row" header-row-style="header-row-2" default-table-style="basic-table hover-bar">
         <row-actions>
@@ -363,7 +364,7 @@
         <field name="fromDate"><hidden/></field>
         <field name="workEffortId"><hidden/></field>
         <field name="workEffortIdTo" title="${uiLabelMap.CommonName}">
-            <hyperlink target="Dependencies" description="${r.taskInfo.taskName}">
+            <hyperlink target="taskView" description="${r.taskInfo.taskName}">
                 <parameter param-name="workEffortId" from-field="workEffortIdTo"/>
             </hyperlink>
         </field>