## JavaScript Embedded Resource Bundles #set ($refreshbutton_hint = $CommonFunctions.getEncodedTermFromResourceBundle($currentUserId, "Controls", "controls.buttons.refreshcurrentview.hint")) #set ($refreshbutton_text = $CommonFunctions.getEncodedTermFromResourceBundle($currentUserId, "Controls", "controls.buttons.refresh.label")) #set ($purgebutton_hint = $CommonFunctions.getEncodedTermFromResourceBundle($currentUserId, "Controls", "controls.buttons.purgedocuments.hint")) #set ($purgebutton_text = $CommonFunctions.getEncodedTermFromResourceBundle($currentUserId, "Controls", "controls.buttons.purge.label")) #set ($attachbutton_hint = $CommonFunctions.getEncodedTermFromResourceBundle($currentUserId, "Controls", "controls.buttons.adddocument.hint")) #set ($attachbutton_text = $CommonFunctions.getEncodedTermFromResourceBundle($currentUserId, "Controls", "controls.buttons.add.label")) #set ($closebutton_text = $CommonFunctions.getEncodedTermFromResourceBundle($currentUserId, "Controls", "controls.buttons.close.label")) #set ($closebuttonhint_text = $CommonFunctions.getEncodedTermFromResourceBundle($currentUserId, "Controls", "controls.buttons.close.hint")) #set ($agiletaskrollup_text = $CommonFunctions.getEncodedTermFromResourceBundle($currentUserId, "ProjectDialogs", "taskdialogcontrols.agiletaskrollup")) ## HTML Embedded Resource Bundles #set ($canEditDesc = (($mode.equals("PROJECT") && $showAttachmentMenu) || ($mode.equals("GLOBAL") && $canManageGlobalDocuments) || $mode.equals("FORM") || ($mode.equals("TASK") && $canManageDocument))) #parse("viewconstants.vm") #parse("common_js.vm") #parse("commonmethods_js.vm") $CommonFunctions.displayTermFromResourceBundle($currentUserId, "ProjectDialogs", "documentsview.windowtitle") #parse("systemmanager_js.vm")
#if ($srcId.equals("GLOBAL")) #end
#if ($requiresPaging) #end #if ($requiresPaging) #end
#if ($canEditDesc) #end
  $CommonFunctions.displayTermFromResourceBundle($currentUserId, "ProjectDialogs", "getcoredatadetail.documentsview.documentname") $CommonFunctions.displayTermFromResourceBundle($currentUserId, "ProjectDialogs", "getcoredatadetail.documentsview.documentdescription") $CommonFunctions.displayTermFromResourceBundle($currentUserId, "ProjectDialogs", "getcoredatadetail.documentsview.documentstatus") $CommonFunctions.displayTermFromResourceBundle($currentUserId, "ProjectDialogs", "getcoredatadetail.documentsview.documentversion") $CommonFunctions.displayTermFromResourceBundle($currentUserId, "ProjectDialogs", "getcoredatadetail.documentsview.documentsize")
#foreach ($fileAttachment in $fileAttachmentList) #set ($isLocked = ($fileAttachment.getFileLockId().length() > 0) && $fileAttachment.getFileLockId().equals($currentUserId)) #set ($isLockedOut = ($fileAttachment.getFileLockId().length() > 0) && !$fileAttachment.getFileLockId().equals($currentUserId)) #end
$CommonFunctions.displayReady($fileAttachment.getFileName()) #if ($canEditDesc)#end $CommonFunctions.displayReady($fileAttachment.getFileDescription()) #if ($canEditDesc)#end 0) style="cursor:hand" title="$CommonFunctions.displayTermFromResourceBundle($currentUserId, "ProjectDialogs", "documentview.lockedby",$CommonFunctions.getFirstLastNameForUser($fileAttachment.getFileLockId()))" #end>#if ($fileAttachment.getFileLockId().equals($currentUserId)) #elseif ($fileAttachment.getFileLockId().length() > 0) #end $fileAttachment.formatAttachmentId($fileAttachment.getVersionId()) $fileAttachment.getFileSize() k
  $CommonFunctions.displayTermFromResourceBundle($currentUserId, "ProjectDialogs", "getcoredatadetail.documentsview.documentname") $CommonFunctions.displayTermFromResourceBundle($currentUserId, "ProjectDialogs", "getcoredatadetail.documentsview.documentdescription") $CommonFunctions.displayTermFromResourceBundle($currentUserId, "ProjectDialogs", "getcoredatadetail.documentsview.documentstatus") $CommonFunctions.displayTermFromResourceBundle($currentUserId, "ProjectDialogs", "getcoredatadetail.documentsview.documentversion") $CommonFunctions.displayTermFromResourceBundle($currentUserId, "ProjectDialogs", "getcoredatadetail.documentsview.documentsize")
#if (!$isPrinting) #end #if ($isAgileStory || $isAgileSprint) #end