Commit 02e6658b authored by ecrombag's avatar ecrombag

Small bugfixes

git-svn-id: https://svn.cs.ru.nl/repos/iTask-system/trunk@1151 63da3aa8-80fd-4f01-9db8-e6ea747a3da2
parent bdcf9cb0
......@@ -78,7 +78,7 @@ itasks.WorkListPanel = Ext.extend(Ext.Panel,{
subject: d.managerProperties.subject,
priority: itasks.util.formatPriority(d.managerProperties.priority),
progress: itasks.util.formatProgress(d.workerProperties.progress),
manager: Ext.util.Format.htmlEncode(d.systemProperties.manager),
manager: itasks.util.formatUser(d.systemProperties.manager),
timestamp: itasks.util.formatDate(d.systemProperties.issuedAt),
deadline: itasks.util.formatDeadline(d.managerProperties.deadline),
taskId: d.systemProperties.taskId
......
......@@ -34,7 +34,7 @@ itasks.ttc.ProcessControlContainer = Ext.extend(Ext.Panel,{
xtype: "itasks.tui.Username",
preventMark: true,
fieldLabel: "Assigned to",
value: this.properties.managerProperties.worker,
value: itasks.util.formatUser(this.properties.managerProperties.worker),
listeners: {
"change" : { fn:
function(fld,nv,ov) {
......
......@@ -560,7 +560,7 @@ gVisualize {|[]|} fx old new vst=:{vizType,idPrefix,currentPath,useLabels,label,
# (valid,err,hnt) = verifyElementStr valid cmu cmv
# (items,vst) = TUIDef fx oldV 0 {VSt | vst & currentPath = shiftDataPath currentPath, useLabels = False, label = Nothing, valid = valid, updateMask = cmu, verifyMask = cmv}
= ([TUIFragment (TUIListContainer {TUIListContainer | items = items, optional = optional, name = name, id = id, fieldLabel = label, hideLabel = not useLabels, staticDisplay = renderAsStatic, errorMsg = err, hintMsg = hnt})],
{VSt | vst & currentPath = stepDataPath currentPath, updateMask = um, verifyMask = vm})
{VSt | vst & currentPath = stepDataPath currentPath, updateMask = um, verifyMask = vm, useLabels = useLabels})
VEditorUpdate
# (valid,msg) = verifyElementUpd valid id cmu cmv
# (upd,vst=:{valid=finalValid}) = TUIUpd fx oldV newV {VSt | vst & currentPath = shiftDataPath currentPath, updateMask = cmu, verifyMask = cmv, valid = valid}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment