remove the links on the projectforms shown to the customer
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@706539 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -283,4 +283,11 @@ under the License.
|
||||
<hyperlink also-hidden="true" target-type="plain" description="Send" target="javascript:(document.MyPageNewEmail.submit())"/>
|
||||
</field>
|
||||
</form>
|
||||
<form name="ListPhaseInfo" extends="ListPhaseInfo" extends-resource="component://projectmgr/widget/forms/ProjectForms.xml">
|
||||
<field name="phase"><display description="${phaseName}"/></field>
|
||||
</form>
|
||||
<form name="ListTaskInfo" extends="ListTaskInfo" extends-resource="component://projectmgr/widget/forms/ProjectForms.xml">
|
||||
<field name="task"><display description="${workEffortName}"/></field>
|
||||
</form>
|
||||
|
||||
</forms>
|
||||
@@ -680,13 +680,38 @@ under the License.
|
||||
<screenlet title="${uiLabelMap.PageTitleProjectInformation}">
|
||||
<include-form name="ProjectInfo" location="component://projectmgr/widget/forms/ProjectForms.xml"/>
|
||||
</screenlet>
|
||||
<include-screen name="PhasesInfo" location="component://projectmgr/widget/ProjectScreens.xml"/>
|
||||
<section>
|
||||
<actions>
|
||||
<service service-name="getProjectPhaseList" result-map-name="result">
|
||||
<field-map field-name="projectId" env-name="projectId"/>
|
||||
</service>
|
||||
<set field="phases" from-field="result.phaseList"/>
|
||||
</actions>
|
||||
<widgets>
|
||||
<container style="screenlet">
|
||||
<screenlet title="${uiLabelMap.ProjectMgrPhases}">
|
||||
<include-form name="ListPhaseInfo" location="component://mypage/widget/MyPageForms.xml"/>
|
||||
</screenlet>
|
||||
</container>
|
||||
</widgets>
|
||||
</section>
|
||||
</container>
|
||||
<container style="righthalf">
|
||||
<include-screen name="TasksInfo" location="component://projectmgr/widget/ProjectScreens.xml"/>
|
||||
<section>
|
||||
<actions>
|
||||
<service service-name="getProjectTaskList" result-map-name="result">
|
||||
<field-map field-name="projectId" env-name="projectId"/>
|
||||
</service>
|
||||
<set field="tasks" from-field="result.taskList"/>
|
||||
</actions>
|
||||
<widgets>
|
||||
<screenlet title="${uiLabelMap.ProjectMgrTasks}" navigation-form-name="ListTaskInfo">
|
||||
<include-form name="ListTaskInfo" location="component://mypage/widget/MyPageForms.xml"/>
|
||||
</screenlet>
|
||||
</widgets>
|
||||
</section>
|
||||
</container>
|
||||
<container style="clear"/>
|
||||
<label text="====${parameters.projectId}"></label>
|
||||
<screenlet title="${uiLabelMap.PageTitleProjectGanttChart}">
|
||||
<platform-specific>
|
||||
<html><html-template location="component://projectmgr/webapp/projectmgr/project/gantChart.ftl"/></html>
|
||||
|
||||
@@ -91,7 +91,11 @@ if (phases){
|
||||
}else{
|
||||
taskInfo.completion = 0;
|
||||
}
|
||||
taskInfo.url = "/projectmgr/control/taskView?workEffortId="+task.workEffortId;
|
||||
if (security.hasEntityPermission("PROJECTMGR", "_READ", session) || security.hasEntityPermission("PROJECTMGR", "_ADMIN", session)) {
|
||||
taskInfo.url = "/projectmgr/control/taskView?workEffortId="+task.workEffortId;
|
||||
} else {
|
||||
taskInfo.url = "";
|
||||
}
|
||||
resultTaskResource = dispatcher.runSync("getTasksByParties", [userLogin : userLogin , workEffortId : task.workEffortId]);
|
||||
taskParties = resultTaskResource.taskParties;
|
||||
resource = "";
|
||||
|
||||
@@ -553,18 +553,9 @@ under the License.
|
||||
</actions>
|
||||
<widgets>
|
||||
<container style="screenlet">
|
||||
<container style="screenlet-title-bar">
|
||||
<container style="h3">
|
||||
<label text="${uiLabelMap.ProjectMgrPhases}"/>
|
||||
</container>
|
||||
</container>
|
||||
<container style="screenlet-body">
|
||||
<section>
|
||||
<widgets>
|
||||
<include-form name="ListPhaseInfo" location="component://projectmgr/widget/forms/ProjectForms.xml"/>
|
||||
</widgets>
|
||||
</section>
|
||||
</container>
|
||||
<screenlet title="${uiLabelMap.ProjectMgrPhases}">
|
||||
<include-form name="ListPhaseInfo" location="component://projectmgr/widget/forms/ProjectForms.xml"/>
|
||||
</screenlet>
|
||||
</container>
|
||||
</widgets>
|
||||
</section>
|
||||
|
||||
Reference in New Issue
Block a user