- added fields: longdescr, hoursworked, hoursplanned

This commit is contained in:
Paolo Arena
2019-03-30 02:57:40 +01:00
parent de117d55e6
commit 38b3405664
33 changed files with 753 additions and 326 deletions

View File

@@ -126,20 +126,15 @@ export default class SingleTodo extends Vue {
this.menuProgress = 'menuProgress'
this.percProgress = 'percProgress'
let mycolcl = ''
if (this.itemtodo.progress < 33) {
mycolcl = ' lowperc'
} else if (this.itemtodo.progress < 66) {
mycolcl = ' medperc'
} else {
mycolcl = ' highperc'
}
let mycolcl = ' ' + tools.getProgressClassColor(this.itemtodo.progress)
this.colProgress = tools.getProgressColor(this.itemtodo.progress)
if (this.itemtodo.completed) {
mycolcl = ' percompleted'
this.colProgress = 'gray'
}
this.colProgress = mycolcl
this.colProgress = tools.getProgressColor(this.itemtodo.progress)
this.menuProgress += mycolcl
this.percProgress += mycolcl