#set ($projectID = $project.getId()) ## Turns off the categories tab unless at least one of data fields is visible or there are custom categories #set ($showCategoriesTab = ($policyCheck.canSeeCoreData("Type") || $policyCheck.canSeeCoreData("Group") || $policyCheck.canSeeCoreData("Department"))) ## This turns off the association tab if all of the data fields are marked as not used #set ($showAssociationsTab = ($CommonFunctions.getNotUsed("MembersId").length() == 0) || ($CommonFunctions.getNotUsed("OwnerId").length() == 0) || ($CommonFunctions.getNotUsed("SponsorId").length() == 0) || ($CommonFunctions.getNotUsed("ManagerId").length() == 0) || ($CommonFunctions.getNotUsed("SubmittedToId").length() == 0) || ($CommonFunctions.getNotUsed("RequestorId").length() == 0)) ## Turns off the association tab unless at least one of data fields is visible #if ($showAssociationsTab) #set ($showAssociationsTab = ($policyCheck.canSeeCoreData("SubmittedToId") || $policyCheck.canSeeCoreData("RequestorId") || $policyCheck.canSeeCoreData("ManagerId") || $policyCheck.canSeeCoreData("SponsorId") || $policyCheck.canSeeCoreData("OwnerId") || $policyCheck.canSeeCoreData("MembersId"))) #end ## Turns off the progress tab unless at least one of data fields is visible #set ($showProgressTab = ($policyCheck.canSeeCoreData("Status") || $policyCheck.canSeeCoreData("StartDate") || $policyCheck.canSeeCoreData("CompletionDate") || $policyCheck.canSeeCoreData("PlannedManHours") || $policyCheck.canSeeCoreData("SpentManHours") || $policyCheck.canSeeCoreData("PlannedCost") || $policyCheck.canSeeCoreData("SpentCost")) ) ## Turns off the confidentiality tab unless at least one of data fields is visible #set ($showConfidentialityTab = ($policyCheck.canSeeCoreData("Confidentiality"))) ## Turns off the notification tab unless at least one of data fields is visible #set ($showNotificationTab = ($policyCheck.canSeeCoreData("NotificationRecipients"))) #set ($showSettingsTab = true) #set ($canSpecifyConfidentiality = $canSpecifyConfidentiality && $policyCheck.canSeeCoreData("Confidentiality")) #set ($projectname_text = $CommonFunctions.displayTermFromResourceBundle($currentUserId, "ProjectDialogs","getcoredatadetail.nameforproject"))
#parse("/common_js.vm") #parse("/colorpicker.vm") #parse("/commonmethods_js.vm")#set ($projectPageId = 2) #parse("/project/projectview.vm") | #end
|